Hacker News new | ask | show | jobs
by mubou 462 days ago
That looks like a really old version of turndown.js, pre-ES6. The link to turndown in the readme is the old one, too. How long ago did you make this? Anyway, you need to put turndown's license in the js file or someplace if you're not going to use npm for some reason.
1 comments

fixed the readme; i used the turndown from mixmark-io/turndown repo.

regarding license: i figured it'd be fine with MIT license but i noticed after your comment that the turndown licence has a copyright line.

what's the right thing to do here? do i add turndown's license along with existing MIT one or replace the license in my repo with turndown's?

The MIT license is pretty simple:

> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

I would just put it in a comment at the top of turndown.js. That's enough to fulfil the license requirements. I know a lot of people don't care, but good to do it right. Definitely don't replace your license with theirs though :)