0.0.2 • Published 7 years ago

assetchef v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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