# connect-assets-jsprimer

> Forces compilation of your javascript connect-assets without referencing them in a view.

Latest version **0.2.0** (published 2015-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install connect-assets-jsprimer
pnpm add connect-assets-jsprimer
yarn add connect-assets-jsprimer
bun add connect-assets-jsprimer
```

## 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.2.0 |
| Published | 2015-02-13 |
| First published | 2012-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jacob Gable |
| Maintainers | jgable |
| Keywords | connect-assets, requirejs |

## Links

- npm: https://www.npmjs.com/package/connect-assets-jsprimer
- Repository: https://github.com/jgable/connect-assets-jsprimer
- Homepage: https://jgable.github.com/connect-assets-jsprimer
- Issues: https://github.com/jgable/connect-assets-jsprimer/issues
- npm.io page: https://npm.io/package/connect-assets-jsprimer

## Dependencies (2)

- [watchr](https://npm.io/package/watchr.md) ~2.1.6
- [coffee-script](https://npm.io/package/coffee-script.md) ^1.3.3

## Recent versions

- 0.2.0 (latest) — 2015-02-13
- 0.1.6 — 2014-04-10
- 0.1.5 — 2013-11-11
- 0.1.4 — 2013-09-09
- 0.1.3 — 2013-09-01
- 0.1.2 — 2013-01-11
- 0.1.1 — 2012-11-20
- 0.1.0 — 2012-11-20
- 0.0.4 — 2012-11-14
- 0.0.3 — 2012-11-07
- 0.0.2 — 2012-11-07
- 0.0.1 — 2012-09-20

## README

connect-assets-jsprimer [![Build Status](https://secure.travis-ci.org/jgable/connect-assets-jsprimer.png)](http://travis-ci.org/jgable/connect-assets-jsprimer)
=======================

An NPM module that forces compilation of your javascript [connect-assets](https://github.com/TrevorBurnham/connect-assets) without referencing them in a view.

### Problems This Helps With

- You are using [requireJS](http://requirejs.org) and don't want to reference all your javascript files in the view.
- You have a javascript file that is dynamically loaded on your page but not in the view.

### Installation

`npm install connect-assets-jsprimer`

* There is a dependency on [CoffeeScript](http://coffeescript.org).  If you want a straight javascript version, you can compile it easily yourself.

### Usage

    assets = require 'connect-assets'
    jsPrimer = require 'connect-assets-jsprimer'
    
    # Snip ...
    
    app.use assets()
    jsPrimer.loadFiles assets

    # Optionally, you can pass in a log function to see progress
    # jsPrimer.loadFiles assets, console.log

### Contributors

[Jacob Gable](http://jacobgable.com)

[Adrien Antoine](http://adriantoine.com/)

[Jonathan Chapman](https://github.com/chafnan)
    
### Copyright

Created by [Jacob Gable](http://jacobgable.com).  MIT License; no attribution required.

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