assetchef

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i assetchef

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • catdawg