Website/node_modules/code-point-at
2015-12-04 02:31:39 -05:00
..
index.js Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
license Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
package.json Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00
readme.md Paper rendering works, and news fields get populated correctly now. 2015-12-04 02:31:39 -05:00

code-point-at Build Status

ES2015 String#codePointAt() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

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