# filo

> virtual file object

Latest version **0.0.7** (published 2015-03-06) · 0 weekly downloads

## Install

```sh
npm install filo
pnpm add filo
yarn add filo
bun add filo
```

## 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.7 |
| Published | 2015-03-06 |
| First published | 2015-02-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 (+11 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wuake |
| Maintainers | wuake |

## Links

- npm: https://www.npmjs.com/package/filo
- Repository: https://github.com/akecn/filo
- Issues: https://github.com/akecn/filo/issues
- npm.io page: https://npm.io/package/filo

## Dependencies (4)

- [vinyl](https://npm.io/package/vinyl.md) ^0.4.6
- [lodash](https://npm.io/package/lodash.md) ^3.0.1
- [through2](https://npm.io/package/through2.md) ^0.6.3
- [minimatch](https://npm.io/package/minimatch.md) ^2.0.1

## Recent versions

- 0.0.7 (latest) — 2015-03-06
- 0.0.6 — 2015-03-06
- 0.0.5 — 2015-03-04
- 0.0.4 — 2015-02-03
- 0.0.3 — 2015-02-03
- 0.0.2 — 2015-02-03
- 0.0.1 — 2015-02-02

## README

[![Build Status](https://api.travis-ci.org/akecn/filo.svg)](https://travis-ci.org/akecn/filo)

## usage

```javascript
new Filo(url, options);
```

url format:

 * test.js
 * test/resource/a.js
 * test/??resource/a.js,b.js

example:

```javascript
var Filo = require('filo');
var filo = new Filo("a.js", {
    cwd: __dirname
});
if(filo.isAvailable()) {
    filo.output(); // return file buffer
}
filo.combine('b.js');
filo.output(); // module `a` and `b` combine;
```

_detail in `test/test.js`_

## Notice
_sorry for my poor english_

* `filo.files` is instance of `Vinyl`.
* `filo.files` should have the same extension with `filo.ext`.
* if you set `filo.ext` with a different value. all the file will change the extension of `file.path`.

## Tests

To run tests run:

```bash
gulp test
```

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