@carv/stdlib
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

@carv/stdlib

Common utility functions.

License Latest Release Bundle Size Typescript Sponsor

Installation

npm install @carv/stdlib

Usage

Namespace Import

// ESM
import * as is from '@carv/stdlib'

// CommonJS
const is = require('@carv/stdlib')

is.string('a string') // => true
is.string(123) // => false

Named Imports

// ESM
import { isString } from '@carv/stdlib'

// CommonJS
const { isString } = require('@carv/stdlib')

isString('a string') // => true
isString(123) // => false

API

Support

This project is free and open-source, so if you think this project can help you or anyone else, you may star it on GitHub. Feel free to open an issue if you have any idea, question, or you've found a bug.

Contribute

Thanks for being willing to contribute!

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

We are following the Conventional Commits convention.

Develop

  • yarn test: Run test suite
  • yarn build: Generate bundles
  • yarn lint: Lints code

Sponsors

Kenoxa GmbH Kenoxa GmbH

License

MIT © Kenoxa GmbH

Readme

Keywords

none

Package Sidebar

Install

npm i @carv/stdlib

Weekly Downloads

12

Version

1.1.2

License

MIT

Unpacked Size

35.2 kB

Total Files

13

Last publish

Collaborators

  • sastan