1.0.0 • Published 4 months ago

extalibur v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

extalibur

Archetype: Node.js package

extalibur changes the extension on a path or removes it using a well engineered atomic function.

Install

npm install extalibur

Usage

import setExt from 'extalibur';

const filePath = './path/to/content.txt';
console.log(setExt(filePath, '.md'));
//./path/to/content.md

console.log(setExt(filePath, null));
//./path/to/content

Links

Development Homepage:

https://github.com/alexstevovich/extalibur

This link might become extalibur-node in the future if conflicts arise.

License

Licensed under the Apache License 2.0.