This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

node-file-extension

0.1.1 • Public • Published

node-file-extension

Install

npm install node-file-extension --save

Usage

const fileExtension = require("node-file-extension")

// Example get extension file
var filename = "image.png"
console.log(fileExtension(filename))
// return png

API

fileExtension(filename)

filename string for the name of the file

Package Sidebar

Install

npm i node-file-extension

Weekly Downloads

4

Version

0.1.1

License

ISC

Unpacked Size

1.66 kB

Total Files

4

Last publish

Collaborators

  • ilyes.elmajouti