code-point-at
ES2015 String#codePointAt() ponyfill
Last updated 11 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install code-point-at 
SYNC missed versions from official npm registry.

Deprecated. Just use String#codePointAt().


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])

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

4 Versions

  • 2.0.0 [deprecated]           ...           5 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 12
Today 0
This Week 3
This Month 8
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE