Skip to content
No description or website provided.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
test
.travis.yml
Gruntfile.js
LICENSE-MIT
README.md
package.json

README.md

lexicon

api documentation generator

Build Status

Getting Started

Install the module with: npm install lexicon

Using from the commandline

lexicon file1.js file2.js file3.js -f json > doc.json
lexicon file1.js file2.js file3.js -f markdown > doc.md
lexicon -i src -o docs -f markdown

Using the API

var lexicon = require('lexicon'),
    parser = lexicon.parser,
    formatter = lexicon.formatter;
console.log(formatter.format(parser.parse(code), 'markdown'));

Documentation

(Coming soon)

Testing

Testing is done using buster thru grunt-buster plugin.

grunt buster or simply grunt which will run the code with lint.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

0.2.11 fixed missing square brackets in optional params

License

Copyright (c) 2012 kates
Licensed under the MIT license.

Something went wrong with that request. Please try again.