@types/parse-passwd

@types/parse-passwd JS library on GitHub @types/parse-passwd JS library on npm Download @types/parse-passwd JS library

TypeScript definitions for parse-passwd

Version 1.0.2 License MIT
@types/parse-passwd has no homepage
@types/parse-passwd JS library on GitHub
@types/parse-passwd JS library on npm
Download @types/parse-passwd JS library
<script type="module"> import typesparsePasswd from 'https://cdn.jsdelivr.net/npm/@types/parse-passwd@1.0.2/+esm' </script>
Learn more

Installation

npm install --save @types/parse-passwd

Summary

This package contains type definitions for parse-passwd (https://github.com/doowb/parse-passwd).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-passwd.

index.d.ts

export = parsePasswd;

declare function parsePasswd(passwdText: string): parsePasswd.PasswdEntry[];

declare namespace parsePasswd {
    interface PasswdEntry {
        username: string;
        password: string;
        uid: string;
        gid: string;
        gecos: string;
        homedir: string;
        shell: string;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.