directory-to-plain-text
2.0.1 • Public • Published Transpile directory to one file
you can transform directory to one - portable - json file
API usage
const dtp = require('directory-to-plain-text');
let compressed = dtp.pack('name of directory');
dtp.unpack(compressed);
dtp.unpack(compressed, 'folderToUnpack');
CLI usage
directory-pack directory > file.json
directory-unpack file.json whereUnpack
d-pack directory > file.json
d-unpack file.json whereUnpack
Package Sidebar
Install
npm i directory-to-plain-text
Weekly Downloads