Socket
Book a DemoInstallSign in
Socket

pixi-packer-parser

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi-packer-parser

A parsing middleware for https://github.com/englercj/resource-loader (used by PIXI.js) and https://github.com/gamevy/pixi-packer

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

pixi-packer-parser

The manifest files created by pixi-packer (https://github.com/Gamevy/pixi-packer) are not natively supported by pixi. You need to add this module to your asset loader. At the moment only PIXI >=3.0.0 is supported.

var pixiPackerParser = require("pixi-packer-parser");
var PIXI = require("pixi.js");

var loader = new PIXI.loaders.Loader();
loader.after(pixiPackerParser(PIXI));
loader.add("path/to/my/manifest_DE_initial.json");
loader.on("progress", function (p) => { console.log("progress", p); });
loader.load(function () => { console.log("done"); });

FAQs

Package last updated on 24 Jan 2017

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