New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

extalibur

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extalibur

Change the extension on a path or remove it using a well engineered atomic function

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

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

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.

Keywords

file system

FAQs

Package last updated on 15 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts