0.1.5 • Published 8 years ago

safe-paths v0.1.5

Weekly downloads
3
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago