JSPM

assetchef

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26180F
  • License MIT

Process assets using a configurable pipeline

Package Exports

  • assetchef

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assetchef) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Build Status Coverage Status

Asset Chef

A library for processing assets through a configurable pipeline. The pipeline is configured by a recipe.json file. The recipe configures a sequence of modules that are executed on assets. Each module is a separate library. Examples of possible libraries are: A downscaler for pngs, a atlas packer, a aws uploader, a json to binary converter.

Installation

npm install @catdawg/assetchef

Usage

This library is still in a very initial stage, but the very basic usage will look like this:

var assetchef = require('@catdawg/assetchef');

assetchef.loadRecipe("recipe.json");
assetchef.cook();

The idea is to also integrate this library into a running app, so it can be watching a directory, and we can run the assetchef only on files that change.

Tests

npm test