# broccoli-js-module-formats

> broccoli-js-module-formats ==========================

Latest version **0.0.1** (published 2014-07-11) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install broccoli-js-module-formats
pnpm add broccoli-js-module-formats
yarn add broccoli-js-module-formats
bun add broccoli-js-module-formats
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-07-11 |
| First published | 2014-07-11 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Juan Dopazo |
| Maintainers | juandopazo |
| Keywords | broccoli, broccoli-plugin, ecmascript, es6, modules, analizer |

## Links

- npm: https://www.npmjs.com/package/broccoli-js-module-formats
- Repository: https://github.com/yahoo/broccoli-js-module-formats
- Issues: https://github.com/yahoo/broccoli-js-module-formats/issues
- npm.io page: https://npm.io/package/broccoli-js-module-formats

## Dependencies (5)

- [mkdirp](https://npm.io/package/mkdirp.md) ^0.5.0
- [walk-sync](https://npm.io/package/walk-sync.md) ^0.1.0
- [broccoli-writer](https://npm.io/package/broccoli-writer.md) ^0.1.1
- [js-module-formats](https://npm.io/package/js-module-formats.md) ^0.1.2
- [broccoli-kitchen-sink-helpers](https://npm.io/package/broccoli-kitchen-sink-helpers.md) ^0.2.2

## Recent versions

- 0.0.1 (latest) — 2014-07-11

## README

broccoli-js-module-formats
==========================

[![Build Status](https://travis-ci.org/yahoo/broccoli-js-module-formats.svg?branch=master)](https://travis-ci.org/yahoo/broccoli-js-module-formats)
[![Dependency Status](https://gemnasium.com/yahoo/broccoli-js-module-formats.svg)](https://gemnasium.com/yahoo/broccoli-js-module-formats)
[![NPM version](https://badge.fury.io/js/broccoli-js-module-formats.svg)](http://badge.fury.io/js/broccoli-js-module-formats)

Broccoli plugin for obtaining files that use a particular module system.

Limitations
-----------

ES modules without import or export statements will not be detected.

API
---

### pickModules(inputTree, options)

Generates a JSON file with the dependency information for all the files in the
`inputTree`. Options:

  * **type**: Required. Module format to filter files by. Any of `cjs`, `amd`, `es` or `yui`.

Example
-------

```js
var pickModules = require('broccoli-js-module-formats');

var es6Modules = pickModules('./src/', {
    type: 'es'
});
```

License
-------

This software is free to use under the Yahoo Inc. BSD license.
See the [LICENSE file][] for license text and copyright information.

Contribute
----------

See the [CONTRIBUTING file][] for info.


[CONTRIBUTING file]: https://github.com/yahoo/broccoli-js-module-formats/blob/master/CONTRIBUTING.md
[LICENSE file]: https://github.com/yahoo/broccoli-js-module-formats/blob/master/LICENSE.md

---
_Source: https://npm.io/package/broccoli-js-module-formats · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
