root 3bf41bf355 update | 1 year ago | |
---|---|---|
.. | ||
index.js | 1 year ago | |
license | 1 year ago | |
package.json | 1 year ago | |
readme.md | 1 year 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