Opal-Estate-Pro/node_modules/code-point-at
2019-09-13 09:44:33 +07:00
..
index.js uapte 2019-09-13 09:44:33 +07:00
license uapte 2019-09-13 09:44:33 +07:00
package.json uapte 2019-09-13 09:44:33 +07:00
readme.md uapte 2019-09-13 09:44:33 +07:00

code-point-at Build Status

ES2015 String#codePointAt() ponyfill

Install

$ npm install --save code-point-at

Usage

var codePointAt = require('code-point-at');

codePointAt('🐴');
//=> 128052

codePointAt('abc', 2);
//=> 99

API

codePointAt(input, [position])

License

MIT © Sindre Sorhus