namifylink

1.0.2 • Public • Published

namifylink

Build

Get domain name from url

Install

npm i namifylink

Usage

const namifyLink = require('namifylink');

const fileName = namifyLink('https://github.com/arshadkazmi42');
console.log(fileName);

// Output
// github-com


const fileName = namifyLink('https://mail.google.com/arshadkazmi42');
console.log(fileName);

// Output
// mail-google-com

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Contributors

Thank you to all the contributors who have helped us in making this project better 🙌

Package Sidebar

Install

npm i namifylink

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • arshadkazmi42