0.2.4 • Published 5 years ago

@pihachu/require-map v0.2.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

Require-Map

Build Status

Show the require contact map for your nodejs project.

Install

$ npm install --save @pihachu/require-map

Usage

const RequireMap = require('@pihachu/require-map')

// (entry file, options)
const requireMap = new RequireMap('app.js', {
    filename: 'filename.html',  // default 'requiremap.html'
    radius: 14, // Node radius, default 14
    lineLength: 120 // Node connection length, default 120
})
requireMap.run()

If successful, there will be a file called requiremap.html in your root directory.

open in your browers:

requiremap.html

Update Recode (ง •_•)ง

  • Fix path error bug
  • Comments are ignored
  • Add more options
  • Can parse import
  • Optimize web

License

MIT © Xu Haocong

0.2.4

5 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago