The https://www.freeCodeCamp.org open source codebase and curriculum. Learn to code for free together with millions of people.
-
Updated
Oct 30, 2019 - 24 commits
- JavaScript
Node.js is a tool for executing JavaScript in a variety of environments. JavaScript had humble beginnings as a language that lived only in web browsers, but the Node.js project has expanded its reach and helped make it the most popular programming language in the world. Node.js extends the creative potential of people with web development experience, enabling a new generation of developers to create servers, command-line tools, desktop apps, and even robots.
The https://www.freeCodeCamp.org open source codebase and curriculum. Learn to code for free together with millions of people.
Promise based HTTP client for the browser and node.js
In many places in the documentation (example: 'socket' event), socket is not necessarily a net.Socket, but always a stream.Duplex (which net.Socket inherits from). We should at least mention that if we don't want to replace all references.
So our function arrayToHtmlList is in a pretty bad space and could use an update. We already had some discussion over at #675 but I wanted to move the update discussion over to an issue for more visibility.
Current problem:
It uses an awkward query selector instead of the `document.prototype.getElementBy
If you follow the readme procedure, the following error will occur in the first npm install express.
saveError ENOENT: no such file or directory, open '/xxx/xxx/package.json'
As you know, the cause is package.json does not exist.
Other users seem to have a similar error, so it seems better to add npm init to the readme.
Or I thought it would be nice to bring a link `Please follow
Meteor, the JavaScript App Platform
The FreeCodeCamp.cn(FCC China) open source codebase and curriculum. Learn to code and help nonprofits.
:white_check_mark: The largest Node.js best practices list (November 2019)
:zap: Delightful Node.js packages and resources
Bookmark card has few minor issues atm as listed below -
Unable to parse URL error in case of all failures including insufficient metadata available. We should differentiate between "unable to parse" and "page has insufficient metadata" cases and show appropriate error message to avoid confusion (ref: ht📜 33 concepts every JavaScript developer should know.
A boilerplate for Node.js web applications
Please check followings before submitting a new feature request.
New to Hexo and finding some inadequacies in some of the documentation.
list_ helpers) the "style"🌟 JavaScript Style Guide, with linter & automatic code fixer
This issue (webtorrent/webtorrent#1685) mentioned a nice resource that shows how to integrate WebTorrent with various JS video libraries.
https://qiita.com/mehdi/items/22ba55ae30bdcedd0746
Would be nice to add updated versions of these examples to the docs.
⏳ Modern JavaScript date utility library ⌛️
The first example of this is new ObjectType in src/data/queries/index.js importing fields.
Fields should be taken in context of parent type, not as standalone information.
This can ensure some users that custom types cannot have own field resolvers which is false.
In fact, much of fields which can have own resolvers
There is no documentation on how to quick deploy fresh/existing Strapi apps to Azure (IIS Node environment). And this actually has a lot of process before you can launch
I noticed a bug in the html_to_sheet function. When reading cells that are empty, the cell index is correctly incremented, but if the cell has HTML tags and is observed to be empty after stripping the tags, the cell index is not incremented. This results in misalignment of the subsequent cells:
https://github.com/SheetJS/js-xlsx/blob/e3c5eac99c3b2be6929adfca455c1be87fab792b/xlsx.js#L18956-L18
#1947 landed a new t.try() assertion. It's experimental, one of the reasons for which is that we don't have documentation yet.
We need to document the assertion, how to use it and what the edge cases are.
Apologies for how bare this issue is — happy to elaborate more if you're looking to contribute this
:closed_book:《Node.js 包教不包会》 by alsotang
The headless config option has sparse documentation and no apparent test cases. It would be helpful to have more information on the intended use case(s).
From: https://keystonejs.com/documentation/configuration:
You can disable the Admin UI by setting the
headlessoption totrue.This will allow you to use
keystone.start()orkeystone.set('routes', aRouter.)without Keyston
I am making a health check endpoint for kubernetes (google cloud's service to host containerized applications) for my mySql application.
right now I am using this package https://www.npmjs.com/package/health-check-mysql
But is there something built into the package itself, something like a isConnected method. ie:
connection.isConnected() ? throw new Error('not connected to mysql') : null
Hi,
I get the following warning when compiling my code:
Warning Cannot resolve 'config.getServerMode() ? '../libserver/server_code.js' : '../liblocal/local_code.js''
Use a string literal as argument for 'require', or leave it
as is and specify the resolved file name in 'scripts' option.
I understand the reason for this and what I need to do. As it says in the manual: ```
Consider the following snippet run in the main process where one wants to listen for
"will-prevent-default"events and after some asynchronous operation (do_something, a call which returns aPromise) initiated by the event listener, depending on the result (result) of the operation, callpreventDefaulton the even