1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 12:50:04 +02:00
Files
gitlit/node_modules/code-point-at
2018-10-10 15:11:12 +02:00
..
2018-06-03 13:57:23 +02:00
2018-06-03 13:57:23 +02:00
2018-10-10 15:11:12 +02:00
2018-06-03 13:57:23 +02: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