question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The provided node_modules code should not be made illegible

See original GitHub issue

Is your feature request related to a problem? Please describe. If you install HTMLHint over npm and look in the node_modules/lib/... folder, you will not be able to read the code. This is NOT developer friendly and not the way other package providers provide code there.

Additional side note: Many files are included which are unnecessary. Even a complete node_modules folder under node_modules/htmlhint/node_modules 🤔

Describe the solution you’d like Provide readable code

Describe alternatives you’ve considered There is no alternative

Additional context workspace 1_080

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
olorecommented, Sep 7, 2018

Hi @Shinigami92. My apologies. After thinking about it a bit, I have reconsidered my position. I agree, HTMLHint should deliver both a minified and a full source JS file.

Regarding the 2nd part - have you identified specific packages that shouldn’t be installed as dependencies? Can you please list them.

0reactions
stale[bot]commented, Jul 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"File to import not found or unreadable" When @import scss ...
Just normal scss compile, coz it OK works for files not from node modules. BTW importing css works fine from node_modules ...
Read more >
Using a shared node module for common classes
I don't want to upload my code to npm to use it locally and am not planning on uploading the code at all....
Read more >
Top 10 Most Common Node.js Developer Mistakes - Toptal
The Top 10 Most Common Mistakes That Node.js Developers Make. Node.js, the cross-platform ... The debate still continues, and may not end anytime...
Read more >
How to Bundle JavaScript With Rollup — Step-by-Step Tutorial
The code should still work, but you may want to look for a more up-to-date ... By default, third-party Node modules won't load...
Read more >
Obfuscate nodejs Code In Less Than 5 Minutes - Do Systems
If you follow the steps here, you will make the Nodejs code nonreadable or highly impossible for a human to read.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found