jsdoc-require

0.0.3 • Public • Published

jsdoc-require

Use jsdoc @name and @require tags to establish JavaScript file dependencies.

Usage:

var jsdocRequire = require('jsdoc-require');

jsdocRequire.sortFiles(['src/**/*.js'], function(sorted) {
  // do something with sorted files like concatenate
});

Note: This module is intended only to establish the order of JavaScript files based on @name and @require tags in comments. Dependencies are only based on files and not individual object names so this is not intended to be used to determine object dependencies.

Readme

Keywords

Package Sidebar

Install

npm i jsdoc-require

Weekly Downloads

134

Version

0.0.3

License

MIT

Last publish

Collaborators

  • douglampe