1.0.2 • Published 2 years ago
@types/lockfile-info v1.0.2
Installation
npm install --save @types/lockfile-info
Summary
This package contains type definitions for lockfile-info (https://github.com/ljharb/lockfile-info).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lockfile-info.
index.d.ts
// Type definitions for lockfile-info 1.0
// Project: https://github.com/ljharb/lockfile-info
// Definitions by: Jordan Harband <https://github.com/ljharb>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface LockfileInfo {
hasPackageJSON: boolean;
hasNodeModulesDir: boolean;
hasLockfile: boolean;
hasPackageLock: boolean;
hasShrinkwrap: boolean;
lockfileVersion: typeof NaN | 1 | 2 | 3; // https://github.com/microsoft/TypeScript/issues/47347
}
/** @async */
declare function lockfileInfo(cwd?: string): Promise<LockfileInfo>;
export = lockfileInfo;
Additional Details
- Last updated: Sun, 09 Jan 2022 16:01:24 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Jordan Harband.