generate-url-id
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

GenerateUrlId

Convert URL to alphanumeric characters

Install

$ npm install generate-url-id

Usgae

import generateUrlId from "generate-url-id"
 
const urlId = generateUrlId("https://www.npmjs.com/package/generate-url-id")
console.log(urlId) // output: httpswwwnpmjscompackagegenerateurlid
 
const japaneseUrlId = generateUrlId("https://テスト.com/これは日本語のURL")
console.log(urlId) // output: httpsE38386E382B9E38388comE38193E3828CE381AFE697A5E69CACE8AA9EE381AEURL

Readme

Keywords

none

Package Sidebar

Install

npm i generate-url-id

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

1.96 kB

Total Files

6

Last publish

Collaborators

  • catnose99