I recently came across a module from substack,
hacker-deps, which allows you to get
a list of authors of node-modules included in your project.
This gives us a really simple way to give a tiny bit of credit back for their work
by adding a hackers.txt
to our projects.
All you have to do is:
In the root of your project directory. And add these lines to your package.json
Now each time you do an npm install, the hackers.txt will be generated and served
from your public/static directory.
Here is some sample output when ran against one of my projects
There are a few other options you can checkout here
if you wanna get a little more descriptive.
Links
blog comments powered by