New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

typescript-stdlib

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-stdlib

A standard library for TypeScript.

latest
Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

typescript-stdlib

A standard library for TypeScript.

This library aims to have a set of baseline functionality that can be used by any program for a wide variety of use cases.

This library has zero dependencies.

Supported targets

This library is primarily intended for use with Node.js. However, large parts of it are also available for use with deno.

Usage

Disclaimer: This library is not yet stable. This means minor versions will likely have breaking changes. We recommend pinning a patch version which will not contain breaking changes.

Node.js

Install the package using npm:

npm install typescript-stdlib

Or use yarn:

yarn add typescript-stdlib

Import the desired modules:

import { Result, errors } from "typescript-stdlib";

Deno

Currently the deno version can be grabbed directly from GitHub. For each release a deno/<VERSION> tag is created.

This can be used like so:

import { Result, errors } from "https://raw.githubusercontent.com/getshiphub/typescript-stdlib/deno/0.1.0/mod.ts"

Why was this created?

See rational for details on why this library was created.

Contributing

Contributions are welcome!

See constributing for instructions.

Keywords

standard library

FAQs

Package last updated on 09 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts