# base-file-loader

> Load vinyl file objects onto a Template collection.

Latest version **1.1.0** (published 2015-03-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install base-file-loader
pnpm add base-file-loader
yarn add base-file-loader
bun add base-file-loader
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-03-16 |
| First published | 2014-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | loader, template, templateloader |

## Links

- npm: https://www.npmjs.com/package/base-file-loader
- Repository: https://github.com/jonschlinkert/base-file-loader
- Issues: https://github.com/jonschlinkert/base-file-loader/issues
- npm.io page: https://npm.io/package/base-file-loader

## Dependencies (1)

- [extend-shallow](https://npm.io/package/extend-shallow.md) ^1.1.2

## Recent versions

- 1.1.0 (latest) — 2015-03-16
- 1.0.1 — 2015-02-25
- 1.0.0 — 2015-01-13
- 0.1.1 — 2014-12-20
- 0.1.0 — 2014-12-20

## README

# base-file-loader [![NPM version](https://badge.fury.io/js/base-file-loader.svg)](http://badge.fury.io/js/base-file-loader)  [![Build Status](https://travis-ci.org/jonschlinkert/base-file-loader.svg)](https://travis-ci.org/jonschlinkert/base-file-loader) 

> Load vinyl file objects onto a Template collection.

## Install with [npm](npmjs.org)

```bash
npm i base-file-loader --save
```

## Usage

```js
var loader = require('base-file-loader');
var template = require('template');
var File = require('vinyl');

template.create('post', { isRenderable: true }, [loader]);

// now you can load posts!
var file = new File({path: 'foo.md', contents: '...'});
template.post(file);
```

## Running tests
Install dev dependencies.

```bash
npm i -d && npm test
```

## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-file-loader/issues)

## Author

**Jon Schlinkert**
 
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert) 

## License
Copyright (c) 2015 Jon Schlinkert  
Released under the MIT license

***

_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 15, 2015._

[template]: https://github.com/jonschlinkert/template

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