Skip to content

This module removes valid filename paths from input string (filenames are kept).

License

Notifications You must be signed in to change notification settings

SeriousAlexej/NoPaths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoPaths

Build Status

This module removes valid filename paths from input string (filenames are kept).

Installation

'npm install nopaths'

Usage

var nopaths = require('nopaths');

var somePath = 'Hey, /home/username/Documents/sweet.txt was not touched!';
nopaths(somePath) === 'Hey, sweet.txt was not touched!'; //true, if /home/username/Documents/ exists

Tests

'npm test'

About

This module removes valid filename paths from input string (filenames are kept).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published