linx-simulator2/node_modules/code-point-at
2019-11-22 09:43:37 +00:00
..
index.js Simulator first commit 2019-09-18 11:11:16 +03:00
license Simulator first commit 2019-09-18 11:11:16 +03:00
package.json Added custom log name 2019-11-22 09:43:37 +00:00
readme.md Simulator first commit 2019-09-18 11:11:16 +03: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