.. | |||
index.js | 5 years ago | ||
license | 5 years ago | ||
package.json | 5 years ago | ||
readme.md | 5 years ago |
ES2015
String#codePointAt()
ponyfill
$ npm install --save code-point-at
var codePointAt = require('code-point-at'); codePointAt('🐴'); //=> 128052 codePointAt('abc', 2); //=> 99
MIT © Sindre Sorhus