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