Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 455 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 455 Bytes

file-string-tools npm package  npm version

Usage

First, Install the file-string-tools, type in the terminal:

$ npm install file-string-tools

Example

const FileTOOLS = require('file-string-tools');
const tool = new FileTOOLS();

console.log(tools.ext("hello.txt")) // .txt
console.log(tools.name("hello.txt")) // hello