Submit
Path:
~
/
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
stringify-package
/
File Content:
index.js
'use strict' module.exports = stringifyPackage const DEFAULT_INDENT = 2 const CRLF = '\r\n' const LF = '\n' function stringifyPackage (data, indent, newline) { indent = indent || (indent === 0 ? 0 : DEFAULT_INDENT) const json = JSON.stringify(data, null, indent) if (newline === CRLF) { return json.replace(/\n/g, CRLF) + CRLF } return json + LF }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
CHANGELOG.md
516 bytes
0644
LICENSE
717 bytes
0644
README.md
2222 bytes
0644
index.js
367 bytes
0644
package.json
1783 bytes
0644
N4ST4R_ID | Naxtarrr