Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

connect-assets-jsprimer

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-assets-jsprimer

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

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

connect-assets-jsprimer Build Status

An NPM module that forces compilation of your javascript connect-assets without referencing them in a view.

Problems This Helps With

  • You are using requireJS 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. 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

Adrien Antoine

Jonathan Chapman

Created by Jacob Gable. MIT License; no attribution required.

Keywords

FAQs

Package last updated on 10 Apr 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc