Socket
Socket
Sign inDemoInstall

code-point-at

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

code-point-at

ES2015 `String#codePointAt()` ponyfill

    2.0.0latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
9,037,835
increased by2.92%

Weekly downloads

Readme

Source

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

Keywords

FAQs

Last updated on 13 Oct 2021

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc