2024-08-20 02:45:04 +03:00
..
2024-08-20 02:45:04 +03:00
2024-08-20 02:45:04 +03:00
2024-08-20 02:45:04 +03:00
2024-08-20 02:45:04 +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