node
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.
Here are 21,502 public repositories matching this topic...
Bug report
Describe the bug
with-google-analytics example double counts page_views. The code
const router = useRouter()
useEffect(() => {
const handleRouteChange = (url) => {
gtag.pageview(url)
}
router.events.on('routeChangeComplete', handleRouteChange)
return () => {
router.events.off('routeChangeComplete', handleRouteChange)
}
}, [r
-
Updated
Dec 29, 2020
-
Updated
Dec 29, 2020 - JavaScript
-
Updated
Dec 30, 2020 - TypeScript
-
Updated
Dec 27, 2020 - JavaScript
-
Updated
Dec 28, 2020 - JavaScript
-
Updated
Dec 30, 2020 - JavaScript
e.g. isPassportNumber, etc.
-
Updated
Dec 29, 2020 - JavaScript
-
Updated
Dec 30, 2020 - JavaScript
-
Updated
Dec 13, 2020 - Go
We plan to gradually migrate brain.js to TypeScript, code base is pretty large, so we would love your help!
How to contribute?
- Convert a file from .js to .ts
- Add types, fix all type errors.
- Submit a PR!
🎉
Here you can find a guide on how to contribute.
Want to convert something, let us know in the comment an
-
Updated
Dec 30, 2020 - TypeScript
https://github.com/verdaccio/monorepo/blob/9.x/core/types/index.d.ts defines
type AuthAccessCallback = (error: string | null, access: boolean) => void;
interface IPluginAuth<T> extends IPlugin<T> {
authenticate(user: string, password: string, cb: AuthCallback): void;
adduser?(user: string, password: string, cb: AuthCallback): void;
changePassword?(user: string, password: stri-
Updated
Dec 28, 2020 - TypeScript
-
Updated
Dec 7, 2020 - JavaScript
-
Updated
Dec 10, 2020 - JavaScript
Context
This isn't really a feature request, as what I need is possible with nock as-is. But I spent several hours searching, reading old issues and searching through the source code to find the solution, so I thought this might help others.
I am testing code that accesses a service that sets the statusMessage of the response, as well as the statusCode. I am using nock to mock the server
-
Updated
Jul 7, 2020 - JavaScript
-
Updated
Dec 11, 2020 - TypeScript
Makes it just that little nicer to use
-
Updated
Dec 22, 2020 - SCSS
Created by Ryan Dahl
Released May 27, 2009
- Organization
- nodejs
- Website
- nodejs.org/en
- Wikipedia
- Wikipedia
pipelineshould immediately fail withERR_STREAM_DESTROYEDwhen any of the streams have already been destroyed.Readablemight need a little extra consideration since it's possible to read the data after being destroyed. Should maybe check_readableState.erroredand/orReadable.ended.Refs: nodejs/node#29227 (comment)