Socket
Book a DemoInstallSign in
Socket

@grain-testing/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

@grain-testing/stdlib

The standard library for the Grain language.

latest
Source
npmnpm
Version
0.5.2
Version published
Maintainers
1
Created
Source

@grain/stdlib

The standard library for the Grain language.

Why

This package provides a distributable copy of the Grain standard library. Currently, it is available through npm.

Installation

Usually, you won't need to install this package. However, if you need it, install it with npm:

npm install @grain/stdlib

Usage

Grain programs will search for an imported module in the stdlib if not available in your other search paths.

For example, you can import the number stdlib:

import Number from "number"
Number.abs(-1)

API

This package includes generated markdown documentation, but we recommend using our API docs on grain-lang.org.

License

MIT

Keywords

grain

FAQs

Package last updated on 31 May 2022

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