node/tools/eslint/node_modules/code-point-at
silverwind d9b8758f47 tools: update ESLint to 2.7.0
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com>
2016-04-20 16:24:21 -07:00
..
index.js tools: update eslint to v1.10.3 2016-01-14 22:20:14 +11:00
license tools: update eslint to v1.10.3 2016-01-14 22:20:14 +11:00
package.json tools: update ESLint to 2.7.0 2016-04-20 16:24:21 -07:00
readme.md tools: update eslint to v1.10.3 2016-01-14 22:20:14 +11:00

code-point-at Build Status

ES2015 String#codePointAt() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

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