/node-get-ascii

Get ascii chars from a string - Node Module

Primary LanguageJavaScriptMIT LicenseMIT

node-get-ascii

Get ascii chars from a string - Node Module

Usage

  > var getAscii = require('./')

  > getAscii('abcdefghijklmnop', 10)
  'abcdefghij'

  > getAscii('abcdefghijklmnop')
  'abcdefghijklmnop'

  > getAscii('abc™¡™•¡∆∂ß˚爅å˜çåß˚¬˜defghijklmnop')
  'abcdefghijklmnop'

  > getAscii('abc™¡™•¡∆∂ß˚爅å˜çåß˚¬˜defghijklmnop', 10)
  'abcdefghij'

License

MIT © 2018 Git Faf