1.0.2 • Published 4 years ago
namifylink v1.0.2
namifylink
Get domain name from url
Install
npm i namifylinkUsage
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-comContributing
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: