Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lttb/flown
Type Helpers for Flow (static typechecker)
https://github.com/lttb/flown
flow flowtype
Last synced: about 2 months ago
JSON representation
Type Helpers for Flow (static typechecker)
- Host: GitHub
- URL: https://github.com/lttb/flown
- Owner: lttb
- License: mit
- Created: 2018-03-31T02:54:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T06:31:26.000Z (3 months ago)
- Last Synced: 2024-07-15T11:58:37.651Z (2 months ago)
- Topics: flow, flowtype
- Language: JavaScript
- Homepage: http://npm.im/flown
- Size: 372 KB
- Stars: 86
- Watchers: 4
- Forks: 7
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-flow - flown - A set of type helpers and utilities for Flow. (Packages / Helpers)
README
# flown
[![Travis branch](https://img.shields.io/travis/lttb/flown/master.svg?style=flat-square)](https://travis-ci.org/lttb/flown)
[![npm version](https://img.shields.io/npm/v/flown.svg?style=flat-square)](https://www.npmjs.com/package/flown)
[![npm license](https://img.shields.io/npm/l/flown.svg?style=flat-square)](https://www.npmjs.com/package/flown)A set of utilities and tips for the [flowtype](https://github.com/facebook/flow).
## Intallation
```sh
npm i flown
```## Utilities
Each Type has it's callable version called `_Type`, e.g. `Apply` and `_Apply`.
By default each Function Type supports the arity of **5**.
- [Apply](./src/Apply)
- [Arguments](./src/Arguments)
- [Arity](./src/Arity)
- [Fix](./src/Fix)
- [Flip](./src/Flip)
- [Frozen](./src/Frozen)
- [Identity](./src/Identity)
- [Is](./src/Is)
- [IsCompat](./src/IsCompat)
- [MergeAll](./src/MergeAll)
- [Omit](./src/Omit)
- [Partial](./src/Partial)
- [Path](./src/Path)
- [PathOr](./src/PathOr)
- [Pick](./src/Pick)
- [Prop](./src/Prop)
- [PropOr](./src/PropOr)
- [Pure](./src/Pure)
- [Reduce](./src/Reduce)
- [ReduceRight](./src/ReduceRight)
- [Return](./src/Return)
- [Union](./src/Union)