mirror of
https://gitea.com/actions/setup-python.git
synced 2024-11-22 18:19:35 +01:00
617 B
617 B
code-point-at
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