1.0.0 • Published 7 years ago

emoticon.js v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

emoticon.js

Simple javascript library to generate random text emoticon. demo here.

travis-ci

Usage

Install with npm.

npm install emoticon.js

  • Import it with script tag in HTML.

    	insert the code below `between <body> and </body>`.
    
    	```html
    	<script src="dist/emoticon.min.js"></script>
    	```
  • Import it with require.

    	```js
    	var emoticon = require('emoticon.js');
    	//or
    	import emoticon from 'emoticon.js';
    	```

Then you can use it with emoticon();;

console.log(emoticon()); // {︶。︶}┛

LICENSE

MIT @hustcc