namifylink
v1.0.2
Published
Generate filename using url domain
Downloads
3
Maintainers
Readme
namifylink
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 :raised_hands: