SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > > stringify-package


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules//stringify-package

NameTypeSizeLast ModifiedActions
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.

Reading File: //lib/node_modules/npm/node_modules//stringify-package/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
}

SILENT KILLER Tool