!flow publish pkg to npmjs registry
!flow publish pkg to npmjs registry. Topics on: must make sure package name is unique, must specify which files we wish to publish in package.json under 'files'
!flow publish pkg to npmjs registry. Topics on: must make sure package name is unique, must specify which files we wish to publish in package.json under 'files'
(for CLI app) add 'bin' config. Topics on: need to swhich file to run when user executes from terminal, add to package.json: 'bin': 'dist/index.js, add to top o
1:Few is defined as: of Data Relationship where one field can match a few values. Topics on: . Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concepts, D
1:Many is defined as: one field map to many values Data Relationship. Topics on: 1:Few, 1:Ton. Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concepts, D
Add prePublishOnly script. Topics on: 'prepublishOnly': 'npm run build', 'prepublishOnly': 'tsc'. Read more: JS, Nodejs, Npm|FullStack Wiki by Roger J
app.delete() is defined as: to DELETE route. Topics on: . Read more: JS, Nodejs, Express, Express Methods, DELETE|FullStack Wiki by Roger J
app.get() is defined as: to send GET HTTP Request. Topics on: . Read more: JS, Nodejs, Express, Express Methods, Appget, GET, HTTP Request |FullStack Wiki by RJ
app.listen() is defined as: to set Port endpoint to listen for incoming requests. Topics on: . Read more: JS, Nodejs, Express, Express Methods, Port | Dev Wiki
app.post() is defined as: to send POST HTTP Request. Topics on: . Read more: JS, Nodejs, Express, Express Methods, Apppost, POST, HTTP Request | Full-Stack Wiki
app.use() is defined as: to use Express middleware. Topics on: . Read more: JS, Nodejs, Express, Express Methods, Appuse, Express Middleware | Full-Stack Wiki
appendFile() is defined as: fs Static Method to async append data to file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async
appendFileSync() is defined as: fs Static Method to Sync append data to file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync
assert is defined as: Node.js Module to Unit Test validity of operations. Topics on: assert.equal(), assert.deepEqual(), assert.deepStrictEqual(), assert.strict
assert.deepEqual() is defined as: assert Static Method to deeply compare == nested objects. Topics on: . Read more: JS, Nodejs, Node Stack, Assert, Static Metho
assert.equal() is defined as: !legacy assert Static Method to test == loose equality. Topics on: assert.equal(Test Expression, Expected Value): AssertionError i
assert.throws() is defined as: assert Static Method to complain if Callback Function Parameter does not throw Exception. Topics on: . Read more: JS, Nodejs, Nod
AssertionError is defined as: Error thrown by assert Module for failure of assertion. Topics on: . Read more: JS, Nodejs, Node Stack, Assert, Error, Module|Wiki
axios is defined as: popular library to Data Fetch, when Fetch API was worse - now no longer needed?!. Topics on: axios async upload progress, Fetch API avail t
body-parser is defined as: Node.js Middleware Module to parse (URL/JSON-encoded) POST data. Topics on: . Read more: JS, Nodejs, Node Stack, Node Js, Middleware,
BSON is defined as: (format) MongoDB extends JSON to store types & length info. Topics on: BSON max limit of 16MB per Document. Read more: JS, Nodejs, Node Stac
child_process is defined as: Node API to spawn ChildProcess. Topics on: exec(), spawn(), ChildProcess. Read more: JS, Nodejs, Node Stack, Node API, Childprocess
ChildProcess is defined as: Spawned Child Process Instance. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Childprocess, Child Process, Instance|Wiki
Collection is defined as: MongoDB Table of Document. Topics on: Collection is parent structure to contain data entities. Read more: JS, Nodejs, Node Stack, Mong
cors is defined as: Node.js Module for CORS to open up API so accessible by other Domains. Topics on: cors called as function to return some Middleware. Read mo
createReadStream() is defined as: fs Static Method to create a Readable file stream. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method
createServer() is defined as: http Static Method to create new HTTP Server. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Http, Static Method, HTTP
createWriteStream() is defined as: fs Static Method to create a Writable file stream. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Metho
Data Modelling is defined as: (process) to transform raw unstructured data (from real-world scenario) into structured logical data model in Database. Topics on:
Data Relationship is defined as: how data in one data entity (field/doc/etc) can relate to other entities. Topics on: 1:Many Data Relationship in MongoDB Relati
Denormalization is defined as: to embed data into each other as object of arrays inside BSON. Topics on: Denormalization can improve performance by make easier
Denormalization. Topics on: . Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concepts, Data Modelling, Denormalization|FullStack Wiki by Roger J
Document is defined as: MongoDB Row of Collection Table, to contain data about entity. Topics on: . Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concep
Duplex is defined as: stream = Writable & Readable. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Stream, Writable, Readable|FullStack Wiki by Roger
EEXIST is defined as: Error File Already Exists. Topics on: . Read more: JS, Nodejs, Node Error Codes|FullStack Wiki by Roger J
emitter. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Events, Event Emitter, Emitter|FullStack Wiki by Roger J
emitter.emit() is defined as: emitter Instance Method to fire custom event. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Events, Event Emitter, Ins
emitter.on() is defined as: emitter Static Method to wire up custom event. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Events, Event Emitter, Stat
ensureDirExists(). Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Fs Extra|FullStack Wiki by Roger J
entry point is defined as: to set default file to run when start App (usually index.js). Topics on: . Read more: JS, Nodejs, Npm, Packagejson, Main, Entry Point
Environment Variable is defined as: Global Variable to access via process.env. Topics on: . Read more: JS, Nodejs, Nodejs Def, Node Global Object, Process, Proc
ETIMEOUT is defined as: Error TIMEOUT when unable to connect Server. Topics on: fix with npm config delete proxy. Read more: JS, Nodejs, Node Error Codes, ETIME
EventEmitter is defined as: class constructor to create emitter Instance. Topics on: emitter, emitter.on(), emitter.emit(), emitter.. Read more: JS, Nodejs, Nod
events is defined as: Node API for event API. Topics on: EventEmitter. Read more: JS, Nodejs, Node Stack, Node API, Events, API|FullStack Wiki by Roger J
exec() is defined as: child_process Static Method to spawn Shell & execute command. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Childprocess, Chil
existsSync() is defined as: fs Static Method to check Sync if path exists. Topics on: !deprecated exists() async version. Read more: JS, Nodejs, Node Stack, Nod
Express is defined as: Node.js Node Framework to handle complex Routing, Middleware, Server Side Render. Topics on: Express is Fast Unopionated Minmalist Web Fr
Express Methods. Topics on: Express Router, express(), express.static(). Read more: JS, Nodejs, Express, Express Methods|FullStack Wiki by Roger J
Express middleware. Topics on: Static Middleware, Symbolic Link acts as a shortcut that points to other dir on local machine, require.resolve applies node path
Express Router. Topics on: router: object is an isolated instance of routes & middlewares, Express Router is a mini-app only capable of performing routing & mid
Express setup. Topics on: install express, install express temporarily & not add to deps, import express, initialize new Instance of express app, install expres
express-generator is defined as: Express App generator Scaffolding utility to create app skeleton. Topics on: . Read more: JS, Nodejs, Express, App, Scaffolding
express() is defined as: Express function to init new Express Instance. Topics on: Express App Instance Method, app.get(), app.post(), app.listen(), app.delete(
extra steps for Lerna Project. Topics on: remove git from sub package dir: rm -f .git, doesn't work on windows?! use rmdir .git instead?, default CRA creates gi
fs is defined as: Node API to interact with OS File System - always use fs-extra for async ops!. Topics on: readdir(), readdirSync(), readFile(), readFileSync(
fs-extra is defined as: Node Stack extends fs with Promise-based functions that cut down on Boilerplate. Topics on: ensureDirExists(). Read more: JS, Nodejs, No
global is defined as: global namespace object in Node.js. Topics on: console, var appends to namespace of file (Module) & NOT global. Read more: JS, Nodejs, Nod
http is defined as: Node API to create server with HTTP Network Protocol. Topics on: createServer(), request(). Read more: JS, Nodejs, Node Stack, Node API, Ht
httpster is defined as: Node DevTool to create simple HTTP Server. Topics on: . Read more: JS, Nodejs, Node Stack, Node Dev Tool, HTTP Server | Full-Stack Wiki
inherits() is defined as: util Static Method to set arg1 Object to inherit from arg2 object. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Util, Sta
Long Polling is defined as: (process) to Polling for longer before Request Timeout. Topics on: . Read more: JS, Nodejs, Node Stack, Web Sockets, Polling, Long P
main is defined as: sets Module file as entry point for Package - usually index.js. Topics on: avoid setting entry file as TS which can not be used by JS only p
Manifest is defined as: metadata file often incl with Package. Topics on: . Read more: JS, Nodejs, Npm, Package Manager, Package, Manifest |FullStack Wiki by RJ
mkdir() is defined as: fs Static Method to async make new dir. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async|FullStack Wiki
mkdirSync() is defined as: fs Static Method to Sync make new dir. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync|web-Dev Wiki
MongoDB is defined as: BaaS NoSQL Database where each Database consists of 1+ Collection in BSON. Topics on: MongoDB Concepts, MongoDB API, MongoDB Setup. Read
MongoDB API. Topics on: MongoDB Atlas, MongoDB CLI, MongoDB Compass, MongoDB Charts, MongoDB Mobile, MongoDB Server. Read more: JS, Nodejs, Node Stack, Mongo DB
MongoDB Atlas is defined as: MongoDB cloud service host on AWS/Azure/GCP. Topics on: . Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB API, Mongo DB Atlas
MongoDB CLI is defined as: can CRUD on Database via CLI to create/query/update/delete docs from terminal - but maybe simpler to just use compass instead?!. Topi
MongoDB Community Server. Topics on: Install as Service to run in background. Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Setup | FullStack Wiki by RJ
MongoDB Compass is defined as: MongoDB GUI to CRUD/validate/index/etc. Topics on: Connect to Host, Insert Document. Read more: JS, Nodejs, Node Stack, Mongo DB,
MongoDB Concepts. Topics on: Collection, Document, BSON, Document-based DB, Denormalization, No Schema, MongoDB is FOSS under SSPL License, Document Schema, Per
MongoDB Setup. Topics on: MongoDB Community Server, default server runs from C, add mongodb dir path to windows system variables, run mongod.exe from CLI to sta
name is defined as: name of Package. Topics on: must be less than 214 chars, must have no spaces, [a-z_-], can contain lowercase letters, hypen (-) or underscor
node is defined as: start REPL Terminal for Node.js. Topics on: REPL, --debug, -h, -v. Read more: JS, Nodejs, Nodejs Commands, Node, REPL, Terminal, Node Js
Node API is defined as: core Node.js internal Module built-in with Node.js. Topics on: Non-Blocking, Low-Level, http, https, path, util, readline, v8, events, c
Node error codes. Topics on: ENOENT, EADDRINUSE, EEXIST, ENOTEMPTY, EBADMSG, ETIMEOUT, EMFILE. Read more: JS, Nodejs, Node Error Codes|FullStack Wiki by Roger J
Node Global Object is defined as: Top-Level Object access within Node.js w/o req CommonJS import. Topics on: __dirname, __filename, exports, global, os, process
Node Stack. Topics on: Node API, cors, body-parser, assert, browserify, axios, npkill, ws, socket.io, WebSockets, Mongoose, MongoDB, nodemon, node-inspector, ht
Node Versions. Topics on: v16.15.0 LTS, v18.2.0. Read more: JS, Nodejs|FullStack Wiki by Roger J
Node.js is defined as: Runtime Environment to execute JS outside Browser. Topics on: Node.js Def, npm, node.js commands, npmjs, Express, Node Stack, Node Versio
node.js commands. Topics on: node. Read more: JS, Nodejs, Nodejs Commands|FullStack Wiki by Roger J
Node.js Def. Topics on: Node.js built on Chrome V8 JS Engine, Node.js efficient at running high Concurrency Apps that tend to be I/O bound, Single-Threaded, Eve
Node.js disadvantages. Topics on: !not Node.js ≠ optimized for CPU-intensive tasks, !not Node.js ≠ ideal for simple CRUD app, !not Node.js ≠ JS Framework like D
nodemon is defined as: Node DevTool to monitor & recompile changes in code. Topics on: . Read more: JS, Nodejs, Node Stack, Node Dev Tool | FullStack Wiki by RJ
Normalization. Topics on: . Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concepts, Data Modelling, Normalization|FullStack Wiki by Roger J
npm is defined as: Package Manager CLI Dev tool to access/manage Module from npmjs. Topics on: included with Node.js, Package Manager, package.json, npx, nvm, N
NPM Alternatives. Topics on: yarn, npm vs yarn, pnpm. Read more: JS, Nodejs, Npm, NPM Alternatives|FullStack Wiki by Roger J
NPM Commands. Topics on: --save, npm config delete proxy, npm config list, npm view PACKAGEreturns a link to src:. Read more: JS, Nodejs, Npm, NPM Commands|Wiki
npm config delete proxy is defined as: to fix ETIMEOUT when unable to run npm i due to connection problems (proxy, dns, etc) - or better yet just use yarn inste
npm semantic versioning. Topics on: ^, ~, *. Read more: JS, Nodejs, Npm|FullStack Wiki by Roger J
npm vs yarn. Topics on: work on same package repo, yarn handles dedupe by default, as per resolution checks during install cmd. Read more: JS, Nodejs, Npm, NPM
npmjs is defined as: npm registry Software Repository to share FOSS JS Lib. Topics on: . Read more: JS, Nodejs, Npmjs, Software Repository, FOSS, Lib | Dev Wiki
npx is defined as: npm Package Runner sub-tool to execute Package w/o global install. Topics on: Package Runner. Read more: JS, Nodejs, Npm, Npx, Package Runner
nvm is defined as: Dev tool to run multiple versions of Node.js on same OS. Topics on: . Read more: JS, Nodejs, Npm, Nvm, Dev Tool, Node Js, OS | FullStack Wiki
opt-in to publish public. Topics on: npm default set to publish pkg to private, in package.json set field: 'publishConfig': { 'access': 'public' }, a public pac
os. Topics on: os.cpus().length. Read more: JS, Nodejs, Nodejs Def, Node Global Object|FullStack Wiki by Roger J
Package is defined as: archived file format, typically including a Manifest (ie package.json). Topics on: Manifest, Package get installed inside node_modules/
Package Manager is defined as: Dev tool to auto install/update/remove Package & Dependency. Topics on: Package. Read more: JS, Nodejs, Npm, Package Manager, Dev
package name patterns. Topics on: scoped name with @scope/my-pkg-name; or @_my_organisation, need to add organization on npmjs, creates link at https. Read more
Package Runner. Topics on: . Read more: JS, Nodejs, Npm, Npx, Package Runner|FullStack Wiki by Roger J
package-lock.json is defined as: . Topics on: . Read more: JS, Nodejs, Npm, Packagejson|FullStack Wiki by Roger J
package.json is defined as: Manifest to def project Metadata, Dependency & scripts. Topics on: package-lock.json, dependency, name, version, description, main,
path is defined as: Node API for tools to work with paths. Topics on: basename(), path.join. Read more: JS, Nodejs, Node Stack, Node API, Path | Full-Stack Wiki
pnpm is defined as: Package Manager to minimize disk space via Symbolic Link . !shit not worth it!!. Topics on: pnpm import, pnpm-lock.yaml, pnpm add -g pnpm, p
pnpm-lock.yaml. Topics on: . Read more: JS, Nodejs, Npm, NPM Alternatives, Pnpm|FullStack Wiki by Roger J
Polling is defined as: (process) to send GET HTTP Request to check Server State change. Topics on: Long Polling, Request Timeout. Read more: JS, Nodejs, Node St
process is defined as: Node Global Object with info on current process instance (JS file being executed). Topics on: process.cwd(), process.env, process.argv, p
process.argv is defined as: (property) to return string[] of argument variable for cmd Argument. Topics on: wasd. Read more: JS, Nodejs, Nodejs Def, Node Global
process.cwd() is defined as: to return string of Current Working Dir. Topics on: (method) process.cwd(): string. Read more: JS, Nodejs, Nodejs Def, Node Global
process.env is defined as: to return object describe user environment variables. Topics on: (property) process.env: NodeJS.ProcessEnv, process.env.PWD, Environm
process.stdout. Topics on: process.stdout.write(). Read more: JS, Nodejs, Nodejs Def, Node Global Object, Process|FullStack Wiki by Roger J
Readable is defined as: stream type to read data. Topics on: loads data as chunks & concatenates back to one. Read more: JS, Nodejs, Node Stack, Node API, Strea
readdir() is defined as: fs Static Method to async read dir content. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async|Dev Wiki
readdirSync() is defined as: fs Static Method to Sync read dir content. Topics on: !snippet chain unlinkSync() forEach readdirSync(). Read more: JS, Nodejs, Nod
readFile() is defined as: fs Static Method to async read contents of file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async
readFileSync() is defined as: fs Static Method to Sync read file content. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync|Wiki
readline is defined as: Node API to prompt user input via terminal. Topics on: . Read more: JS, Nodejs, Node Stack, Node API|FullStack Wiki by Roger J
Referencing. Topics on: Types of Referencing. Read more: JS, Nodejs, Node Stack, Mongo DB, Mongo DB Concepts, Data Modelling|FullStack Wiki by Roger J
rename() is defined as: fs Static Method to async rename file (to new path). Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async
renameSync() is defined as: fs Static Method to Sync rename file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync|web-Dev Wiki
REPL is defined as: CLI to interact with Compiler via Terminal with output to loop results. Topics on: . Read more: JS, Nodejs, Nodejs Commands, Node, REPL, CLI
Request Timeout is defined as: (process) to let Polling HTTP Request timeout when no Server State change. Topics on: . Read more: JS, Nodejs, Node Stack, Web So
request() is defined as: http Static Method to make a HTTP Request. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Http, Request, Static Method, HTTP
rmdir() is defined as: fs Static Method to async remove dir. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async | FullStack Wiki
rmdirSync() is defined as: fs Static Method to Sync remove dir. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync|FullStack Wiki
scripts is defined as: to set commands to execute via npm run. Topics on: &, &&. Read more: JS, Nodejs, Npm, Packagejson, Scripts|FullStack Wiki by Roger J
Semantic Versioning. Topics on: all node package versions are of format: XX:YY:ZZ, major version, minor version, patch version. Read more: JS, Nodejs, Npm, Pack
socket.io is defined as: Node.js Module to build WebSockets with built-in Server/Client & fallback Long Polling. Topics on: . Read more: JS, Nodejs, Node Stack,
sort deps. Topics on: into 'dependencies' | 'devDependencies', can rename all Dependency of CRA to devDependencies when only serve build. Read more: JS, Nodejs,
spawn() is defined as: child_process Static Method to spawn new ChildProcess. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Childprocess, Child Proc
Static Middleware is defined as: Middleware to serve Static Resource. Topics on: express.static(rootDir: string) to serve static files. Read more: JS, Nodejs, E
stream is defined as: Node API & Interface to stream data as Chunks (vs all at once). Topics on: Writable, Readable, Duplex, Transform, stream.on('data', chunk⇒
to Build Web Socket Server. Topics on: TCP Socket Server, HTTP Proxy. Read more: JS, Nodejs, Node Stack, Web Sockets|FullStack Wiki by Roger J
unlink() is defined as: fs Static Method to async remove file/Symbolic Link. Topics on: call fs.unlink() via try...catch block to handle possible error. Read mo
unlinkSync() is defined as: fs Static Method to Sync remove file/Symbolic Link. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Syn
util is defined as: Node API to provide utility functions. Topics on: util.log(), inherits(), util.promisfy(). Read more: JS, Nodejs, Node Stack, Node API, Util
v8 is defined as: Node API for V8 JS Engine. Topics on: getHeapStatistics(). Read more: JS, Nodejs, Node Stack, Node API, V 8, JS Engine|FullStack Wiki by Roger
version is defined as: current version, follows Semantic Versioning for Version Management. Topics on: Semantic Versioning. Read more: JS, Nodejs, Npm, Packagej
WebSocket is defined as: Interface Object & Constructor Function to access WebSockets API. Topics on: Websocket Event. Read more: JS, Nodejs, Node Stack, Web So
Websocket Event is defined as: Event from websocket can be listened to via addEventListener(). Topics on: open, close, error, message. Read more: JS, Nodejs, No
WebSockets is defined as: Web API to open 2-way Client/Server connection, to push update vs Polling. Topics on: use own Protocol to send/receive message from TC
Writable is defined as: stream type to write data. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Stream, Writable|FullStack Wiki by Roger J
writeFile() is defined as: fs Static Method to async write data to file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Async
writeFileSync() is defined as: fs Static Method to Sync write data to file. Topics on: . Read more: JS, Nodejs, Node Stack, Node API, Fs, Static Method, Sync
yarn is defined as: Package Manager, faster than npm, more reliable for old projects, prettier CLI ASCII art UI, by FB. Update: it's better than npm for sure!.
yarn 3.2 is defined as: yarnpkg.dev/. Topics on: PnP. Read more: JS, Nodejs, Npm, NPM Alternatives, Yarn|FullStack Wiki by Roger J
yarn add is defined as: to add module. Topics on: yarn add PKG@latest. Read more: JS, Nodejs, Npm, NPM Alternatives, Yarn, Yarn CLI Cmd |FullStack Wiki by Roger
yarn CLI cmd. Topics on: yarn add, yarn create react-app, yarn help, yarn init, yarn remove, yarn run, yarn storybook, yarn test --watchAll, yarn upgrade. Read
yarn upgrade is defined as: to update Module to their range set by internal package.json. Topics on: yarn upgrade-interactive --latest. Read more: JS, Nodejs, N