chuwanghui 6d115466a5 electron库 6 年之前
..
.npminstall.done 6d115466a5 electron库 6 年之前
index.js 6d115466a5 electron库 6 年之前
license 6d115466a5 electron库 6 年之前
package.json 6d115466a5 electron库 6 年之前
readme.md 6d115466a5 electron库 6 年之前

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