Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    code-point-atpublic

    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

    install

    npm i code-point-at

    Downloadsweekly downloads

    2,627,141

    version

    1.1.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar