filmov
tv
How to build, test and publish an npm package in ES6
Показать описание
I this video I show you how to create, build, test and release a node module package that's hosted on npm.
The most important thing to know is that if you want to write the code for the node module in ES6, you need a way to transpile the code from ES6 to ES5 so that it’s compatible with anyone’s code — that's where babel comes in!
0:00 Intro
0:32 Introducing the random code generator website
1:03 Running npm init
1:38 Initialising a git repository using the GitHub CLI
1:45 Publishing the scoped npm package
2:01 Installing the new node module
2:17 Moving the existing code to the new npm package
2:37 Learning how to transpile ES6 to ES5
3:46 Using npm link to test the node module locally
4:32 It's alive!
4:50 Refactoring the code to return more data
This is a highlight of a live Twitch broadcast which aired on Friday 9th April 2021.
#nodejs #javascript #npm
The most important thing to know is that if you want to write the code for the node module in ES6, you need a way to transpile the code from ES6 to ES5 so that it’s compatible with anyone’s code — that's where babel comes in!
0:00 Intro
0:32 Introducing the random code generator website
1:03 Running npm init
1:38 Initialising a git repository using the GitHub CLI
1:45 Publishing the scoped npm package
2:01 Installing the new node module
2:17 Moving the existing code to the new npm package
2:37 Learning how to transpile ES6 to ES5
3:46 Using npm link to test the node module locally
4:32 It's alive!
4:50 Refactoring the code to return more data
This is a highlight of a live Twitch broadcast which aired on Friday 9th April 2021.
#nodejs #javascript #npm
Jenkins is the Way to build, test, and deploy
How to Build, Test, and Deploy Your React Native Expo App to the Google Play Store
Build & Test Lego Engines: V8, U12, H16, X24, multirow-radial-42, S100
Build, Test and Deploy with Environments
Build & Test Lego Engines: 1-cyl, opp-piston, S2, V2, F2, U2, W3, S4, H4, X4, radial-6
How to Build a Test Box: Construction and Safe Testing Guide for Combat Robots
Heavy LEGO Technic amphibious tracked vehicle, build and test.
(Part 1) How to Design, Build, and Test an RF Linear Amplifier (Overview)
[HONKAI STAR RAIL] All Xueyi Test Build Quantum Dps and Breaker build
Introduction to UiPath Testing and learning how to build Test Cases
FINISHING Our $500 Ranger Build
Build a Smoke Machine for Under $10 | How to Smoke Test a Car | Check for Vacuum Leaks
FT Mighty Mini Corsair - BUILD | Flite Test
Flite Test - FT Simple Storch - Build
Software testing using excel - How to build test cases
DIY FT Simple Cub - Build | Flite Test
Elden Ring - Build Crafting Tutorial - How I Test Builds in Elden Ring
Automating Build, Test and Release Workflows with tox
FT Pietenpol - Build | Flite Test
Flite Test | Tiny Trainer BUILD
FT Mighty Mini Arrow - DIY Build | Flite Test
Flite Test - FT Versa Wing - BUILD
How To Design Build And Test | A 6th Order Bandpass (Parallel )
Dotnet CLI - Build, Test and Publish projects
Комментарии