1.0.0 • Published 11 years ago
trim-emoji v1.0.0
trim-emoji
Deletes ':' from the begin and the end of an emoji shortcut.
Install
npm install trim-emoji --saveIf you want to use in the browser (powered by Browserify):
bower install trim-emoji --saveand later link in your HTML:
<script src="bower_components/trim-emoji/dist/trim-emoji.js"></script>Usage
var trimEmoji = require('trim-emoji');
trimEmoji(':heart:') // => 'heart'License
MIT © Kiko Beats
1.0.0
11 years ago