trim-filename

0.2.0 • Public • Published

Install npm install trim-filename

Trim filename to specific length

var trim = require("trim-filename");

var filename = "longfilename1234.jpg";
var trimmed = trim(filename, 5); // l.jpg

Readme

Keywords

none

Package Sidebar

Install

npm i trim-filename

Weekly Downloads

9

Version

0.2.0

License

ISC

Last publish

Collaborators

  • calibr