@fippli/file-extensions

0.0.2 • Public • Published

Remove File Extension

Remove file extensions JavaScript.

Usage

const fileExtensions = require('@fippli/js-file-extensions');
// or
import fileExtensions from '@fippli/js-file-extensions';

Remove

fileExtensions.remove('filename.ext')
// => 'filename'

Replace

fileExtensions.replace('filename.ext', 'next')
// => 'filename.next'

Readme

Keywords

none

Package Sidebar

Install

npm i @fippli/file-extensions

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

2.86 kB

Total Files

8

Last publish

Collaborators

  • fippli