vlad 6f123ff03e 18.07 6 lat temu
..
index.js 6f123ff03e 18.07 6 lat temu
license 6f123ff03e 18.07 6 lat temu
package.json 6f123ff03e 18.07 6 lat temu
readme.md 6f123ff03e 18.07 6 lat temu

readme.md

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