Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floatdrop/stream-dirs
Streams directories as path and stat objects
https://github.com/floatdrop/stream-dirs
Last synced: 22 days ago
JSON representation
Streams directories as path and stat objects
- Host: GitHub
- URL: https://github.com/floatdrop/stream-dirs
- Owner: floatdrop
- Created: 2014-08-13T09:51:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-17T18:45:40.000Z (over 10 years ago)
- Last Synced: 2024-10-26T21:09:56.757Z (2 months ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# stream-dirs [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency Status][depstat-image]][depstat-url]
Reads all directories in path (without hidden - that begins with dot).
## Usage
```js
var readdir = require('stream-dirs');
readdir('./').on('data', console.log);
```## API
### stream-dirs(path)
Returns Stream of objects, that have `path` and `stat` properties.
## License
MIT (c) 2014 Vsevolod Strukchinsky
[npm-url]: https://npmjs.org/package/stream-dirs
[npm-image]: https://badge.fury.io/js/stream-dirs.png[travis-url]: http://travis-ci.org/floatdrop/stream-dirs
[travis-image]: https://travis-ci.org/floatdrop/stream-dirs.png?branch=master[depstat-url]: https://david-dm.org/floatdrop/stream-dirs
[depstat-image]: https://david-dm.org/floatdrop/stream-dirs.png?theme=shields.io[coveralls-url]: https://coveralls.io/r/floatdrop/stream-dirs
[coveralls-image]: https://coveralls.io/repos/floatdrop/stream-dirs/badge.png