New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

assetmgmt

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assetmgmt

client side asset manager with a similar configuration to ruby jammit

latest
Source
npmnpm
Version
0.0.12
Version published
Weekly downloads
17
183.33%
Maintainers
1
Weekly downloads
 
Created
Source

assetmgmt

This library that concatonates files and makes them read for production while you are developing. First you make a yaml file at config/assets.yml and put some info like this into it.

javascripts:
  application:
    - app/assets/javascripts/jquery.js
    - app/assets/javascripts/json2.js
    - app/assets/javascripts/underscore.js
    - app/assets/javascripts/knockout.js
    - app/assets/javascripts/base.js

stylesheets:
  application:
    - app/assets/stylesheets/normalize.css
    - app/assets/stylesheets/base.css
    - app/assets/stylesheets/bootstrap.css
    - app/assets/stylesheets/bootstrap-theme.css

As you develop it will concatonate and minify your changes as you make them. There will be helpers for each of the groups of files in the res.locals. For example, if you need the tag for the application javascript group, it is at res.locals.js.application.

License

MIT

Keywords

javascript

FAQs

Package last updated on 12 Aug 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