Precise, accurate and to-the-point. Loved the tutorial, thanks!
@stormos25one2 жыл бұрын
Thank you for this short and sweet video, it was very helpful to quickly understand the basics regarding publishing of a package!
@Stoney_Eagle3 жыл бұрын
Be aware that when a package hits ~100 downloads you can NOT remove it anymore, same thing with composer.
@andythedishwasher11172 жыл бұрын
How do you remove it before that point if you notice a fatal error? That wasn't covered in the video.
@Stoney_Eagle2 жыл бұрын
@@andythedishwasher1117 in the package settings
@playyourway2963 Жыл бұрын
really aahahhaha
@brahimboughanem208 Жыл бұрын
I think user can save his own copy so when you delete it noting gonna happen But if user has no copy in save place that's will be horrible.
@alanctnk Жыл бұрын
Ah I think that is why some package is marked as "deprecated" instead of just being removed, right?
@shakilpendhari4525 Жыл бұрын
Thank you, brother, I create my first npm package, and I am so happy.
@স্বচ্ছনিরবতা3 жыл бұрын
Oh my, this man is a legend🤯
@VenkateshMogili3 жыл бұрын
😍😍😍 I have waited for long time, finally you released it. Thank you very much Kyle❤❤❤👍
@junnapark77762 жыл бұрын
Amazingly simple explanation. Props to you
@mznunaya3 жыл бұрын
Got DAMMIT Kyle. HOW do you do it?! Every-SINGLE-time I JUST get done talking about something I want to learn or do you post a video about it right after. ...Are you a wizard Kyle???
@zylocodes2 жыл бұрын
Super helpful and clear walk-through! Thanks for sharing!
@shakil-the-coding-monster2 жыл бұрын
Always you come handy with your tutorials!
@Rexetorize3 жыл бұрын
I have been waiting for this for so long 🔥🔥✌️
@devchaudhary783 жыл бұрын
Same here brother🔥
@yodkwtf3 жыл бұрын
@@devchaudhary78 haha same bhai. Same
@aymenob24842 жыл бұрын
you are my favorite , evrytime i see a video of yours about the subject i m trying to learn i immediatly smile
@bolaji_3 жыл бұрын
What a coincidence,I'm about to search for this and I got the recommendation....great video
@Tutordidi2 жыл бұрын
Thank you so much for this tutorial. I wasn't knowing about that npm link thing. Thanks!!
@uquantum12 күн бұрын
Thanks so much!
@headcode2 жыл бұрын
Dude, your videos are great!
@chicotebelsonda5507 Жыл бұрын
Thank you very much for the concise tutorial.
@adityapundir65293 жыл бұрын
Hi bro, fan from India
@nirmesh443 жыл бұрын
i always wanted that you create this video.
@srinathsathyanath74353 жыл бұрын
Me (wondering): how do I make my own npm package? 🤔 webDevSimplified: brand new video on creating an npm package. Cool man. You're on the roll 🔥
@bendover47283 жыл бұрын
I need this, but for Python.. Nice video!
@Kolpaja3 жыл бұрын
wow this was great i always was wondering how we can do our own package. thanks a lot
@amauryperalta43642 жыл бұрын
Excellent. Thanks man
@saurabhjdas786 Жыл бұрын
Simple, succinct! Thanks
@alexanderzharkov69533 жыл бұрын
Amazing video!
@mohammadanas3320 Жыл бұрын
Thanks in package folder: npm link in user project folder: npm link
@suzannevogt20182 жыл бұрын
Great video!
@heindiez2 жыл бұрын
Thanks Kyle.
@nazeefpeerzade63783 жыл бұрын
Thanks for this :)
@thecoderabbi Жыл бұрын
Simple and fast!👍
@geraldoagohoue31323 жыл бұрын
Excellent video
@Soulaimaneyh2 жыл бұрын
if you have : 403 Forbidden try to use unique package name
@masoudmj11243 жыл бұрын
Opening youtube in hope that Kyle has uploaded a video
@iwan1438 Жыл бұрын
thank's for this tutorial👍👍
@sujoyghosh71523 жыл бұрын
Thanks a ton fr this video ❤️
@monero.jeanniton Жыл бұрын
Thank you!
@CrazyyyLowy3 жыл бұрын
You should make a video on how to add documentation to your package
@ayushsharma4139 ай бұрын
Thanks it really helped =) !
@malavipande6693 Жыл бұрын
Thanks Man!!!
@devanshsinghparmar3 жыл бұрын
5:50 Anyone seen at top, "Nahi Pata Mujhe!"
@dooddotjs39103 жыл бұрын
I wanted to do this for so long
@Kolpaja3 жыл бұрын
me too lol
@ademlayes9116 Жыл бұрын
Great video. can i just delete the "test" folder after finishing the test and publish it ?
@ilkrsrc0813 жыл бұрын
So how can one create npm package for React for example? It will have jsx so should we initiliaze it like a react project then publish it?
@MusicByAr16053 жыл бұрын
Nice vid bro.
@anshikgupta29932 жыл бұрын
Hey, the module I am making is dependent on another package, so when I am trying to run the module I am making in test folder, it is giving error that the package is not defined.
@adarshjaiswal73343 жыл бұрын
Ohh man, if this would have came before 2-3 days it would have lower my struggle. But still a great content that KZbin was lacking with.
@glimpsee79413 жыл бұрын
Can you do a short showing the same but with typescript packages?
@julescsv70123 жыл бұрын
Thank you 🙏
@shanmuktej9 ай бұрын
Hey Kyle! I've been surfing the web on how to publish my whole framework instead of just a few files as a package to import. To be specific * take a new project * npm init playwright A set of questions will be asked and boom, basic code will be on your machine. I need to build something like, help me!
@shr1han3 жыл бұрын
For some reason, there are a lot of nonsense packages on NPM that literally do nothing other than clogging up the node_modules. Some of these are is-odd, is-is-odd, is-even, none, true, false, if 1. is-odd: Checks whether the given number is odd. Uses a lot of dependencies. 2. is-is-odd: Checks whether the supplied function is the is-odd package. Make sure you install this if you're using is-odd 😂 3. is-even: Checks whether the given number is even. It simply returns !is-odd(number). 4. none: A function that does nothing. Seriously. This is the most lightweight package on NPM. 5. true: A package that returns true. 6. false: A package that returns false. 7. if: Provides you handy functions for handling conditions. Especially for those who are bored of the tradition if-else 😂 L O L
@lolwhatever73073 жыл бұрын
You just saw a process of creation of two nonsense packages and still surprised?
@aVeryTinyCat3 жыл бұрын
There's a package called 'no-one-left-behind' whose sole purpose is to depend on as many other npm packages as possible, so they don't feel unwanted or lonely
@tuanvu5161 Жыл бұрын
The 403 forbidden error may be caused because of the duplicate package name and not necessarily because you haven't verified your email address, you should change the name in the package.json file if you encounter this error.
@jaigupta5024 Жыл бұрын
Thank you
@suryapratap36222 жыл бұрын
Thanks helpful video
@AccessCode1013 жыл бұрын
Would you make a video about your productivity setup?
@sajedsoliman47803 жыл бұрын
Thank you bro. I was looking for this. I thought it's hard but it's so easy 😂
@innovagalactic2 жыл бұрын
how do i make multiple functions for my package? my previous code is var cLog = function cLog(string) { console.log(string) } exports.cLog = cLog; which works like its supposed to then i added another var openLink = function openLink(url) { window.open(url, '_blank') } into the same index.js file. then added exports.openLink = openLink. so now my index.js looks like this var cLog = function cLog(string) { console.log(string) } var openLink = function openLink(url) { window.open(url, '_blank') } exports.cLog = cLog; exports.openLink = openLink and when i use it i just get errors on every function, please help
@Superuser-r1y2 жыл бұрын
Error in Syntex
@Superuser-r1y2 жыл бұрын
Var cLog = function (string){ console.log(string) } module.export=cLog;
@kaladar1302 жыл бұрын
What if multiple functions need to be exported?
@nelsonmutane13722 жыл бұрын
Thanks a lot
@abdellahdamri6563 жыл бұрын
Hey Kyle That was awesome !! Dope Content It would be Great if u could make a vid about building a CSS Framework and if possible publishing it on NPM
@underrated_mono97702 жыл бұрын
Question! Assuming that only homepage url in package.json is wrong, should I increment the version number, like v1.0.0 -> v1.0.1 just for modifying such a small part?
@garbjorn17572 жыл бұрын
Yes. NPM wont allow you to publish unless you bump the version, when you change a file.
@techtycho47522 жыл бұрын
My problem is, how to import the package using the import/export ES6 syntax, what if I want to run it on the frontend?
@bibliotech49263 жыл бұрын
In some cases it may give them an error because the package's name already exists, it is solved by changing the package's name in the package.json
@saadtanveer55932 жыл бұрын
in this video he simply publish a function i want to publish whole backend server side code(apis) how to do that?
@francodiaz84392 жыл бұрын
Hey, everything works perfect, but when I test this in the browser it says "Uncaught ReferenceError: require is not defined'
@azzen_v2 жыл бұрын
Did you find a solution for this?
@yosuanicolaus2 жыл бұрын
CMIIW, but I think that's because you can't import modules in browser console.
@mofe6202 жыл бұрын
Thank youu
@dimitrisqq Жыл бұрын
Hey there, thanks! Is there any way to NOT upload the src folder but just the dist folder? I tried it creating a .npmignore and adding there all variations src, src/, /src/, or in the package.json "files": ["!src"] but without any luck 🙄🙄
@renzovargas36559 ай бұрын
I've recently been trying the same thing... Did you eventually get it to work?
@m-coders3 жыл бұрын
Thanks sir
@yogimahapuАй бұрын
guys, may i know what app to recording bubble like this video ?
@abhishekgupta37212 ай бұрын
Why "npm link is-wds" command is not creating node_modules folder in my Test-Folder
@amindhahri25422 жыл бұрын
Kyle have a question if i publish a package afterwards i delete it and after a moment I want to republish it it throws me an error why?
@hakanaki2 жыл бұрын
Please what do you do after you've made changes to the package ? I build it and linked them both, but couldn't find what I added.
@cs-codemon53063 жыл бұрын
Nice!
@flavioforte790Ай бұрын
I saw some video how upload something to npm, but when I try to create a component and import it in a repository it doesn't work. some one have a complete course to do it and e
@palkalaiselvand81673 жыл бұрын
Thanks for this...
@nIrUbU012 жыл бұрын
Why are you using module.exports instead of exports? And require instead of import?
@playyourway2963 Жыл бұрын
thanks you .sir
@AERNIGH Жыл бұрын
Can someone help me with a query? If my package requires data that is obtained from a single source, should the npm package have the api integrated in it, or should the host fetch the data and provide it to the component? I ask this because if tomorrow the api gets changed, every host will have to do the effort.
@GOODIESS2 жыл бұрын
How can we do this with a next js component
@suryapratapsingh51493 жыл бұрын
Add some video on dependencies , dev dependenceis, peer dependencies, etc.
@kevingreetham58832 жыл бұрын
Kyle. You are the master. I have a question please sir. Can I create a html and css page as an npm package or are they strictly JavaScript files? To. use a ready made package with html and css do I need to clone or download a zip of git or do some packages on npm come with html and css? Thanks
@mhdz102 жыл бұрын
Guys one question: do I need a paid plan to be able to publish my packages as in this video? Thank you!
@suhaibsalman94952 жыл бұрын
no
@DodaGarcia Жыл бұрын
No, only if you want the package to be private
@mhdz10 Жыл бұрын
@@DodaGarcia Thank you!
@shubhamgaikwad6949 Жыл бұрын
How to do it for react app ?
@amitanshusahu10792 жыл бұрын
what os does he use
@huzaifakhalil176 Жыл бұрын
npm link is not working for me
@darkriderMC2 жыл бұрын
What would be the best way to sync to a git repo and do automatic release syncing with github tags? Can someone recommend a good video about this? Thanks
@saadtanveer55932 жыл бұрын
you simply publish a function i want to publish whole backend server side code(apis) how to do that?
@suryapratapsingh51493 жыл бұрын
Add some videos on babel n brocali .
@jittojoyes7533 Жыл бұрын
How to update a package after its published?
@sazzadhossainnetcoden9498 Жыл бұрын
Great, Now this is for a single function npm package. But if I want to publish some package, that will probably contain multiple functionality. How to include all of that?
@suryapratapsingh51493 жыл бұрын
Add some video on mono repos and and benefits
@ucanhly11665 ай бұрын
if npm link not work, try to npm init in test folder then npm link will work
@codyfisher99722 жыл бұрын
I am being asked for a one time password when I publish it but it is not sending it to my email what can i do?
@VMNthemaster2 жыл бұрын
how to verify email? I'm also getting 403 forbidden....
@anuragchoudhary41383 жыл бұрын
Did any one notice that? 6:41 Nahi Pata Mujhe!
@ninjaasmoke3 жыл бұрын
Great video! But how do we add types to it??
@sweminzaw Жыл бұрын
use typescript
@HOLONIA4EVER Жыл бұрын
Seems like the npm link order changed and now first you have to publish your package and only then you can npm link it
@piyaasok3 жыл бұрын
Hai Kyle, Can you show how to deploy a pernstack app in heroku please. I have tried that many times with different peoples video, but didnt succeed . I cannot connect my database to the frontend. Thanks
@qureshiowais69518 ай бұрын
npx restfoldermaker this will help you build different well know folder structure i will add youtube video link later explanation as why and how also enjoy guys
@guitarplayer4life172 жыл бұрын
Super difficult to check my place relative to the tutorial when all I see is "current-project" no matter the working directory
@lemongautam61712 жыл бұрын
How do I verify my email on npm?
@abhishikhamaurya338 Жыл бұрын
+1
@stormybear49862 жыл бұрын
My Gawd, man! You are one of the most handsome men I've ever seen, including the 3 'Hot Chrises" (Hemsworth, Evans, Pratt) I love yout tutorials just to see your lovely face.