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.217.80
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
import * as typeFest from 'type-fest'; import normalize = require('normalize-package-data'); declare namespace readPkg { interface Options { /** [Normalize](https://github.com/npm/normalize-package-data#what-normalization-currently-entails) the package data. @default true */ readonly normalize?: boolean; /** Current working directory. @default process.cwd() */ readonly cwd?: string; } interface NormalizeOptions extends Options { readonly normalize?: true; } type NormalizedPackageJson = PackageJson & normalize.Package; type PackageJson = typeFest.PackageJson; } declare const readPkg: { /** @returns The parsed JSON. @example ``` import readPkg = require('read-pkg'); (async () => { console.log(await readPkg()); //=> {name: 'read-pkg', …} console.log(await readPkg({cwd: 'some-other-directory'}); //=> {name: 'unicorn', …} })(); ``` */ (options?: readPkg.NormalizeOptions): Promise<readPkg.NormalizedPackageJson>; (options: readPkg.Options): Promise<readPkg.PackageJson>; /** @returns The parsed JSON. @example ``` import readPkg = require('read-pkg'); console.log(readPkg.sync()); //=> {name: 'read-pkg', …} console.log(readPkg.sync({cwd: 'some-other-directory'}); //=> {name: 'unicorn', …} ``` */ sync(options?: readPkg.NormalizeOptions): readPkg.NormalizedPackageJson; sync(options: readPkg.Options): readPkg.PackageJson; }; export = readPkg;