# base-loader

> Base loader for Template-based applications.

Latest version **0.1.0** (published 2015-05-01) · MIT license · 0 weekly downloads

## Install

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

## 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.1.0 |
| Published | 2015-05-01 |
| First published | 2015-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jon Schlinkert |
| Maintainers | jonschlinkert |
| Keywords | base, file, files, loader, template |

## Links

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

## Dependencies (2)

- [relative](https://npm.io/package/relative.md) ^3.0.0
- [map-files](https://npm.io/package/map-files.md) ^0.7.4

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2015-05-01

## README

# base-loader [![NPM version](https://badge.fury.io/js/base-loader.svg)](http://badge.fury.io/js/base-loader)

> Base loader for Template-based applications.

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

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

## Usage

```js
var loader = require('base-loader');

var App = require('template');
var app = new App();
app.loader('base', [loader]);
```

Now you can use the loader to load templates for custom template types.

```js
// create the custom type, and assign the loader
app.create('post', 'posts', ['base']);

// load some templates!
app.posts('*.md');
```

## Related projects

[template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)

## 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-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 May 01, 2015._

<!-- reflinks generated by verb-reflinks plugin -->

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