Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pascalduez/node-loader-flow
A Node.js loader for Flow
https://github.com/pascalduez/node-loader-flow
flow flowtype loader nodejs types
Last synced: 2 months ago
JSON representation
A Node.js loader for Flow
- Host: GitHub
- URL: https://github.com/pascalduez/node-loader-flow
- Owner: pascalduez
- License: unlicense
- Created: 2024-09-20T23:12:23.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-23T21:40:15.000Z (3 months ago)
- Last Synced: 2024-10-05T14:05:51.650Z (3 months ago)
- Topics: flow, flowtype, loader, nodejs, types
- Language: JavaScript
- Homepage:
- Size: 2.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# node-loader-flow
[![npm version][npm-image]][npm-url]
[![CI Status][ci-image]][ci-url]> A Node.js loader for Flow.
> Strip Flow types with [flow-remove-types] before Node execution.## Installation
```
npm install node-loader-flow --save-dev
# or
pnpm add node-loader-flow --save-dev
# or
yarn add node-loader-flow --dev
```## Usage
Using the module hook:
```bash
node --import node-loader-flow/register file.js
```
Using the module loader (deprecated):
```bash
node --loader node-loader-flow file.js
```
Using Node test runner:
```bash
node --import node-loader-flow/register --test
```## Credits
- [Pascal Duez](https://github.com/pascalduez)
## Licence
node-loader-flow is [unlicensed](http://unlicense.org/).
[npm-url]: https://www.npmjs.org/package/node-loader-flow
[npm-image]: http://img.shields.io/npm/v/node-loader-flow.svg?style=flat-square
[ci-url]: https://github.com/pascalduez/node-loader-flow/actions/workflows/ci.yml
[ci-image]: https://img.shields.io/github/actions/workflow/status/pascalduez/node-loader-flow/ci.yml?branch=main&style=flat-square[flow-remove-types]: https://www.npmjs.com/package/flow-remove-types