multibyte-length

0.1.1 • Public • Published

multibyte-length Build Status

multibyte string length

Install

$ npm install --save multibyte-length

Usage

const multibyteLength = require('multibyte-length');
 
multibyteLength('abc');
//=> 3
 
multibyteLength('牛丼');
// => 4

API

multibyteLength(input)

input

Type: string

License

MIT © akameco

Package Sidebar

Install

npm i multibyte-length

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • akameco