test/node_modules/code-point-at
2018-12-13 14:35:49 +01:00
..
index.js added new theme 2018-12-13 14:35:49 +01:00
license added new theme 2018-12-13 14:35:49 +01:00
package.json added new theme 2018-12-13 14:35:49 +01:00
readme.md added new theme 2018-12-13 14:35:49 +01: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