3.2.0 • Published 9 years ago

d2l-web-package-reader v3.2.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

d2l-web-package-reader

NPM version Build status Coverage Status

Utilities for reading contents of D2L web package files.

Installation

Install from NPM:

npm install d2l-web-package-reader

Usage

To load all JavaScript files from a package by name:

var packageReader = require('d2l-web-package-reader');

packageReader.loadByName( __dirname, 'My.Package.Name' )
  then( function( files ) {
	console.log( files );
} );

Alternatively, to just load the files defined in a specific package file:

packageReader.loadByFile( '../path/to/file.package.xml' )
then( function( files ) {
	console.log( files );
} );
3.2.0

9 years ago

3.1.0

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.1.0

9 years ago

2.0.0

10 years ago

1.0.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago