🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extchange

Changes the extension of a filename to a new one

1.0.0
latest
Version published
Maintainers
1
Created

extchange

A very simple program to change the extension of a filename

Installation

npm install --save extchange

Usage

var extChange = require("extchange"), inFileName = "foo.css", outFileName;

... outFileName = extChange(inFileName, "html"); ...

The value of outFileName will be "foo.html"

FAQs

Package last updated on 03 Mar 2016

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