setup-java/node_modules/code-point-at
Stephen Franceschelli c1a589c5b6 Fix.
2019-07-30 13:41:05 -04:00
..
index.js Fix. 2019-07-30 13:41:05 -04:00
license Fix. 2019-07-30 13:41:05 -04:00
package.json Fix. 2019-07-30 13:41:05 -04:00
readme.md Fix. 2019-07-30 13:41:05 -04: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