1.0.1 • Published 10 years ago

lysergix v1.0.1

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

##Lysergix

A database of emoticons. An api for pulling utf8 emoticons from the database.

For use on client or server :heart:

###Installation npm install lysergix

###Usage

var lysergix = require('lysergix')
lysergix.getTags() // returns an array of 'tags' for faces
lysergix.getRandomFace() // returns a random smiley face.
lysergix.getRandomFace('sadboi') // returns a random 'sadboi' smiley face.
lysergix.getRandomFace(['sadboi', 'angry']) // returns a random 'sadboi' or 'angry' smiley face.
lysergix.getFace(1234) // returns the 1234th face in the array of faces.
lysergix.asciiFilter() // returns an array of faces that are ascii only.

###Face structure: The in-memory database of faces is have a simple structure:

{
  content: 'the actual face',
  tag: 'a single category of face'
}
1.0.1

10 years ago

1.0.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago