@appres/filename
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

File name related functions

Description

Remove unusable characters from the file name. In other words, it only returns the available strings.


Install

npm i @appres/filename

Import

const FileName = require('@appres/filename');

or

import { FileName } from '@appres/filename';

Usage

let filename1 = FileName.valid("some_file_name.txt");
let filename2 = FileName.valid("../../*?some_?*file_name.txt.");

Return will be same to "some_file_name.txt"

Readme

Keywords

Package Sidebar

Install

npm i @appres/filename

Homepage

appres.org

Weekly Downloads

2

Version

0.0.7

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • certchip
  • appresorg
  • smartdisk