0.1.5 • Published 10 years ago

safe-paths v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

safe-paths

This module is intended to help format a string into a cross-platform path-safe string.

One potential example would be for taking a string with UTF-8 or other special characters and transforming into a string that is safe to use for a filename or directory name.

Usage

var safePath = require('safe-paths');
    
console.log(safePath.format('AC/DC Compilation CD'));
=> AC_DC_Compilation_CD
0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago