https://github.com/goto-bus-stop/deps-write
write modules from a module-deps stream to the filesystem instead of bundling
https://github.com/goto-bus-stop/deps-write
Last synced: 2 months ago
JSON representation
write modules from a module-deps stream to the filesystem instead of bundling
- Host: GitHub
- URL: https://github.com/goto-bus-stop/deps-write
- Owner: goto-bus-stop
- License: other
- Created: 2018-06-26T12:44:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T05:00:07.000Z (about 2 years ago)
- Last Synced: 2025-03-22T19:05:14.445Z (3 months ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# deps-write
write modules from a module-deps stream to the filesystem instead of bundling
[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
[![standard][standard-image]][standard-url][npm-image]: https://img.shields.io/npm/v/deps-write.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/deps-write
[travis-image]: https://img.shields.io/travis/goto-bus-stop/deps-write.svg?style=flat-square
[travis-url]: https://travis-ci.org/goto-bus-stop/deps-write
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: http://npm.im/standard## Install
```
npm install deps-write
```## Usage
```js
var unpack = require('browser-unpack')
var toStream = require('from2-array')
var depsWrite = require('deps-write')var modules = unpack(bundleSource)
toStream(modules)
.pipe(depsWrite({ dir: './modules' }))
```## License
[Apache-2.0](LICENSE.md)