osenv/000755 001751 000177 0000000000 14522377323013713 5ustar00runner000000 000000 1452237732314522377323osenv/LICENSE000644 001751 000177 0000002165 14522377323014724 0ustar00runner000000 000000 1452237732314522377323 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE osenv/README.md000644 001751 000177 0000003400 14522377323015170 0ustar00runner000000 000000 1452242635614522377323# Installation > `npm install --save @types/osenv` # Summary This package contains type definitions for osenv (https://github.com/npm/osenv). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/osenv. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/osenv/index.d.ts) ````ts /** * The machine name. Calls hostname if not found. */ export function hostname(cb?: (hostname: string, error?: string) => void): string; /** * The currently logged-in user. Calls whoami if not found. */ export function user(cb?: (user: string, error?: string) => void): string; /** * Either PS1 on unix, or PROMPT on Windows. */ export function prompt(cb?: (prompt: string, error?: string) => void): string; /** * The place where temporary files should be created. */ export function tmpdir(cb?: (tmpdir: string, error?: string) => void): string; /** * No place like it. */ export function home(cb?: (home: string, error?: string) => void): string; /** * An array of the places that the operating system will search for executables. */ export function path(cb?: (path: string, error?: string) => void): string; /** * Return the executable name of the editor program. * This uses the EDITOR and VISUAL environment variables, * and falls back to vi on Unix, or notepad.exe on Windows. */ export function editor(cb?: (editor: string, error?: string) => void): string; /** * The SHELL on Unix, which Windows calls the ComSpec. * Defaults to 'bash' or 'cmd'. */ export function shell(cb?: (shell: string, error?: string) => void): string; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by . osenv/index.d.ts000644 001751 000177 0000002356 14522377323015622 0ustar00runner000000 000000 1452237732314522377323/** * The machine name. Calls hostname if not found. */ export function hostname(cb?: (hostname: string, error?: string) => void): string; /** * The currently logged-in user. Calls whoami if not found. */ export function user(cb?: (user: string, error?: string) => void): string; /** * Either PS1 on unix, or PROMPT on Windows. */ export function prompt(cb?: (prompt: string, error?: string) => void): string; /** * The place where temporary files should be created. */ export function tmpdir(cb?: (tmpdir: string, error?: string) => void): string; /** * No place like it. */ export function home(cb?: (home: string, error?: string) => void): string; /** * An array of the places that the operating system will search for executables. */ export function path(cb?: (path: string, error?: string) => void): string; /** * Return the executable name of the editor program. * This uses the EDITOR and VISUAL environment variables, * and falls back to vi on Unix, or notepad.exe on Windows. */ export function editor(cb?: (editor: string, error?: string) => void): string; /** * The SHELL on Unix, which Windows calls the ComSpec. * Defaults to 'bash' or 'cmd'. */ export function shell(cb?: (shell: string, error?: string) => void): string; osenv/package.json000644 001751 000177 0000001162 14522377323016202 0ustar00runner000000 000000 1452242635614522377323{ "name": "@types/osenv", "version": "0.1.3", "description": "TypeScript definitions for osenv", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/osenv", "license": "MIT", "contributors": [], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/osenv" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "56f7fa47084a1dcd2f1491f385ade489d3b8c6af648787397f2eda26ad9dd093", "typeScriptVersion": "4.5" }