lice-js's People
lice-js's Issues
Defaults from package.json
It would be pretty cool if the information chain for generating the license went something like:
(cli options) -> (package.json) -> (what it currently defaults to [ie .gitconfig info and dirname etc])
so that once you npm init
you can run lice and get a license generated for you.
i've forked and started work on adding that functionality, but wanted to run it past you for your thoughts.
Error when trying to generate ISC license
Looks like the header in templates.json
is null for ISC, and looks like the code tries to access an attribute on that null header at some point
/Users/sean/npm/lib/node_modules/lice-js/licenseTemplate.js:42
body: bodyHeader.body,
^
TypeError: Cannot read property 'body' of undefined
at new newTemplate (/Users/sean/npm/lib/node_modules/lice-js/licenseTemplate.js:42:19)
at Object.createLicense (/Users/sean/npm/lib/node_modules/lice-js/lice.js:20:25)
at /Users/sean/npm/lib/node_modules/lice-js/bin/cli.js:99:20
at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:551:21
at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:227:13
at iterate (/Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:134:13)
at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:145:25
at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:229:17
at /Users/sean/npm/lib/node_modules/lice-js/node_modules/async/lib/async.js:556:34
at async.series.cleanUpArgs.year (/Users/sean/npm/lib/node_modules/lice-js/bin/cli.js:83:19)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.