@types/lockfile-info
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

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: Tue, 07 Nov 2023 09:09:38 GMT
  • Dependencies: none

Credits

These definitions were written by Jordan Harband.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/lockfile-info

      Weekly Downloads

      1

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      3.32 kB

      Total Files

      5

      Last publish

      Collaborators

      • types