indicative-utils
Version:
Reusable utilities for indicative validation library
60 lines (42 loc) • 1.65 kB
Markdown
<div align="center">
<img src="https://res.cloudinary.com/adonisjs/image/upload/q_100/v1557762307/poppinss_iftxlt.jpg" width="600px">
</div>
# Indicative Utils
[![circleci-image]][circleci-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]
> Collection of utilities used by Indicative packages.
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## Table of contents
- [Usage](#usage)
- [API Docs](#api-docs)
- [Maintainers](#maintainers)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
## Usage
Install the package from npm registry as follows:
```sh
npm i indicative-utils
# yarn
yarn add indicative-utils
```
and then use it as follows:
```ts
import {
cast,
ensureLength,
getValue,
patchValue,
skippable
} from 'indicative-utils'
```
## API Docs
Following are the autogenerated files via Typedoc
* [API](docs/README.md)
## Maintainers
[Harminder virk](https://github.com/thetutlage)
[circleci-image]: https://img.shields.io/circleci/project/github/poppinss/indicative-utils/master.svg?style=for-the-badge&logo=circleci
[circleci-url]: https://circleci.com/gh/poppinss/indicative-utils "circleci"
[npm-image]: https://img.shields.io/npm/v/indicative-utils.svg?style=for-the-badge&logo=npm
[npm-url]: https://npmjs.org/package/indicative-utils "npm"
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[license-url]: LICENSE.md
[license-image]: https://img.shields.io/aur/license/pac.svg?style=for-the-badge