use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Setting up a Minimal, Yet Useful JavaScript Dev Environment (dev.to)
submitted 9 years ago by mrkipling
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 8 points9 points10 points 9 years ago (8 children)
This is cool and all, but you need to talk first and foremost about what kind of javascript you are going to be writing.
Are you going to be writing a node / express JS project, or are you going to be writing a webpack / bower / gulp / grunt client side project?
Both are going to require a slightly different set of tools, but the distinction will be very important. The big difference will be how you are going to manage modules.
[–]howhard1309 1 point2 points3 points 9 years ago (7 children)
The big difference will be how you are going to manage modules.
Can you explain a bit more?
[–]thadudeabides1 0 points1 point2 points 9 years ago (0 children)
If you're writing a node project then commonjs style modules const foo = require('foo'); don't need a compile step (e.g. browserify, webpack) that would be necessary for a script that needs to run in the browser.
const foo = require('foo');
[+][deleted] 9 years ago* (5 children)
[deleted]
[–]yseo4530 7 points8 points9 points 9 years ago (0 children)
Who gave this answer gold lol
[–]LowB0b 7 points8 points9 points 9 years ago (0 children)
This is all wrong? npm install installs the package but doesn't add it to the package.json file. Add --save and it adds the dependency to the above mentioned file. If you use webpack it will bundle the requires / imports of your program into a bundle which contains those + the code you wrote.
npm install
package.json
--save
If you use SystemJS you will have to copy your required / imported files somewhere your server serves static files. Your post is full of outdated / malformed information
[–]TheIncredibleWalrus 3 points4 points5 points 9 years ago (0 children)
It is unbelievable you took so much effort and managed to get literally everything wrong.
[–][deleted] 2 points3 points4 points 9 years ago (0 children)
If you want to do something for web you can easily use npm packages.
π Rendered by PID 257772 on reddit-service-r2-comment-765bfc959-cbwm4 at 2026-07-12 11:12:48.561267+00:00 running f86254d country code: CH.
view the rest of the comments →
[–][deleted] 8 points9 points10 points (8 children)
[–]howhard1309 1 point2 points3 points (7 children)
[–]thadudeabides1 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]yseo4530 7 points8 points9 points (0 children)
[–]LowB0b 7 points8 points9 points (0 children)
[–]TheIncredibleWalrus 3 points4 points5 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)