Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.216.250
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
nodejs /
read-pkg /
Delete
Unzip
Name
Size
Permission
Date
Action
index.d.ts
1.4
KB
-rw-r--r--
2019-07-11 08:30
index.js
840
B
-rw-r--r--
2019-07-11 08:30
package.json
790
B
-rw-r--r--
2019-07-11 08:30
Save
Rename
'use strict'; const {promisify} = require('util'); const fs = require('fs'); const path = require('path'); const parseJson = require('parse-json'); const readFileAsync = promisify(fs.readFile); module.exports = async options => { options = { cwd: process.cwd(), normalize: true, ...options }; const filePath = path.resolve(options.cwd, 'package.json'); const json = parseJson(await readFileAsync(filePath, 'utf8')); if (options.normalize) { require('normalize-package-data')(json); } return json; }; module.exports.sync = options => { options = { cwd: process.cwd(), normalize: true, ...options }; const filePath = path.resolve(options.cwd, 'package.json'); const json = parseJson(fs.readFileSync(filePath, 'utf8')); if (options.normalize) { require('normalize-package-data')(json); } return json; };