Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to customize the output of the json file #8

Open
frostney opened this issue Nov 8, 2013 · 1 comment
Open

Ability to customize the output of the json file #8

frostney opened this issue Nov 8, 2013 · 1 comment

Comments

@frostney
Copy link

frostney commented Nov 8, 2013

I would really like to have the ability for my output to look like this:

{
  "libname1": "The contents of the MIT license",
  "libname2": "My cool license",
 ...
}
@anacronw
Copy link
Member

anacronw commented Nov 8, 2013

I haven't integrated back into this project in a while, but perhaps you'd be interested in this: https://github.com/AceMetrix/npm-license. It does the npm license generation without the grunt build.

There is an option in there (and here) to generate a json file, but to get it to format that way is currently not supported.

I'll mark this as an enhancement to perhaps provide a formatting function in which I feed it details of each package as its traversing through perhaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants