An open API service indexing awesome lists of open source software.

https://github.com/webcaetano/jinx-loader

Jinx packages loader
https://github.com/webcaetano/jinx-loader

Last synced: 4 months ago
JSON representation

Jinx packages loader

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/webcaetano/jinx-loader.svg?branch=master)](https://travis-ci.org/webcaetano/jinx-loader) [![npm version](https://badge.fury.io/js/jinx-loader.svg)](http://badge.fury.io/js/jinx-loader)

# [![Imgur](http://i.imgur.com/FHjshUv.png)](https://github.com/webcaetano/jinx)

Jinx loader is a [Jinx](https://github.com/webcaetano/jinx) Package loader ![Kappa](http://static-cdn.jtvnw.net/emoticons/v1/25/1.0)

### Installation

```
npm install jinx-loader
```

### Usage

```javascript
var jinxLoader = require('jinx-loader');

var mainFile = 'test/app/flash/main.as';
var pkgs = jinxLoader(mainFile);
// return all .as and .swc files on node_modules with path relative to mainFile
// jinx packages should be name with "jinx-" like "jinx-example"
```

---------------------------------

The MIT [License](https://raw.githubusercontent.com/webcaetano/jinx-loader/master/LICENSE.md)