Détail du package

joycon-ts-loader

gluons194MIT3.0.2

A TypeScript loader for JoyCon.

config, ts, typescript, loader

readme

joycon-ts-loader

GitHub npm Travis (.com)

A TypeScript loader for JoyCon.

Installation

You need to install TypeScript first.

npm install --save-dev typescript
# or #
yarn add --dev typescript

Then install joycon-ts-loader.

npm install joycon-ts-loader
# or #
yarn add joycon-ts-loader

Usage

const JoyCon = require('joycon');
const JoyConTSLoader = require('joycon-ts-loader');

const joycon = new JoyCon();
joycon.addLoader(JoyConTSLoader);

joycon.load([/* file... */]);