@grain-testing/stdlib

0.5.2 • Public • Published

@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

Package Sidebar

Install

npm i @grain-testing/stdlib

Weekly Downloads

0

Version

0.5.2

License

MIT

Unpacked Size

1.02 MB

Total Files

107

Last publish

Collaborators

  • phated