Current Path: > > usr > lib > node_modules > npm > > node_modules > > stringify-package >
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.38 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
CHANGELOG.md | File | 516 bytes | March 10 2021 14:36:40. | |
LICENSE | File | 717 bytes | March 10 2021 14:36:40. | |
README.md | File | 2222 bytes | March 10 2021 14:36:40. | |
index.js | File | 367 bytes | March 10 2021 14:36:40. | |
package.json | File | 1783 bytes | March 10 2021 14:36:40. |
'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 }
SILENT KILLER Tool