How To Create And Publish Your First NPM Package

How To Create And Publish Your First NPM Package

Web Dev Simplified

2 года назад

188,860 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Huzaifa Khalil
Huzaifa Khalil - 16.11.2023 16:03

npm link is not working for me

Ответить
iflut
iflut - 27.10.2023 20:44

why is his git repo automatically defined in the npm init? mine is not

and yes I already initialized the git and ran the commands from the repo.

Ответить
Iwan Nanang Setiawan
Iwan Nanang Setiawan - 25.10.2023 17:18

thank's for this tutorial👍👍

Ответить
Adem Layes
Adem Layes - 10.10.2023 17:52

Great video. can i just delete the "test" folder after finishing the test and publish it ?

Ответить
Tuan Vu
Tuan Vu - 23.09.2023 09:07

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.

Ответить
Chicote Belsonda
Chicote Belsonda - 16.09.2023 17:52

Thank you very much for the concise tutorial.

Ответить
Mohammad Anas
Mohammad Anas - 04.09.2023 12:25

Thanks

in package folder: npm link
in user project folder: npm link <packge-name>

Ответить
Subhasis Das
Subhasis Das - 12.07.2023 04:34

Trust me,before watch this video I really think that maybe I need to write some javascript base code and i also need to know babel functionality for creating npm package

Ответить
Monero Jeanniton
Monero Jeanniton - 04.07.2023 00:55

Thank you!

Ответить
shakil pendhari
shakil pendhari - 01.07.2023 15:40

Thank you, brother, I create my first npm package, and I am so happy.

Ответить
Shubham Gaikwad
Shubham Gaikwad - 10.06.2023 18:53

How to do it for react app ?

Ответить
Dr. Cooper
Dr. Cooper - 23.05.2023 16:42

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.

Ответить
Malavi Pande
Malavi Pande - 24.04.2023 20:48

Thanks Man!!!

Ответить
Dimitris Theofanous
Dimitris Theofanous - 22.04.2023 23:04

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 🙄🙄

Ответить
Fraz Bakht
Fraz Bakht - 26.03.2023 14:09

Precise, accurate and to-the-point. Loved the tutorial, thanks!

Ответить
programacion369
programacion369 - 24.03.2023 09:34

buen contenido miAmigO

Ответить
Jitto Joyes
Jitto Joyes - 17.03.2023 12:16

How to update a package after its published?

Ответить
SAURABH DAS
SAURABH DAS - 02.02.2023 23:10

Simple, succinct! Thanks

Ответить
Sazzad Hossain NetCoden
Sazzad Hossain NetCoden - 25.01.2023 15:51

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?

Ответить
Play Your Way
Play Your Way - 18.01.2023 09:17

thanks you .sir

Ответить
HOLONIA4EVER
HOLONIA4EVER - 12.01.2023 01:21

Seems like the npm link order changed and now first you have to publish your package and only then you can npm link it

Ответить
Emeka Orji
Emeka Orji - 10.01.2023 15:16

Simple and fast!👍

Ответить
Lemon gautam
Lemon gautam - 08.12.2022 05:21

How do I verify my email on npm?

Ответить
Memo
Memo - 06.12.2022 04:10

Guys one question: do I need a paid plan to be able to publish my packages as in this video? Thank you!

Ответить
paritosh pandey
paritosh pandey - 12.11.2022 12:59

you look quite close to spiderman

Ответить
Tutordidi
Tutordidi - 04.11.2022 08:07

Thank you so much for this tutorial. I wasn't knowing about that npm link thing. Thanks!!

Ответить
Omar Ahmed Abdelhakim
Omar Ahmed Abdelhakim - 28.10.2022 12:06

My problem is, how to import the package using the import/export ES6 syntax, what if I want to run it on the frontend?

Ответить
Patrick Mahloy
Patrick Mahloy - 27.10.2022 23:10

Super difficult to check my place relative to the tutorial when all I see is "current-project" no matter the working directory

Ответить
Hein Diez
Hein Diez - 26.10.2022 10:19

Thanks Kyle.

Ответить
Mofentan Afinotan
Mofentan Afinotan - 25.10.2022 18:50

Thank youu

Ответить
Shakil Kamran- The Coding monster
Shakil Kamran- The Coding monster - 16.10.2022 07:31

Always you come handy with your tutorials!

Ответить
Surya Pratap
Surya Pratap - 13.10.2022 07:24

Thanks helpful video

Ответить
Varad Nadkarni
Varad Nadkarni - 11.10.2022 11:41

how to verify email? I'm also getting 403 forbidden....

Ответить
Amaury Peralta
Amaury Peralta - 24.09.2022 22:35

Excellent. Thanks man

Ответить
MikeOnTheBox
MikeOnTheBox - 03.09.2022 01:07

Anyone know how to build at the same time a version that could be used directly in browsers for example, loading from a CDN?

Ответить
THE LEADER
THE LEADER - 06.08.2022 17:06

if you have : 403 Forbidden try to use unique package name

Ответить
aymen obba
aymen obba - 06.08.2022 03:07

you are my favorite , evrytime i see a video of yours about the subject i m trying to learn i immediatly smile

Ответить
Kaladar
Kaladar - 03.08.2022 03:52

What if multiple functions need to be exported?

Ответить
Nikola Ivanov
Nikola Ivanov - 31.07.2022 19:20

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

Ответить
Amitanshu Sahu
Amitanshu Sahu - 09.07.2022 05:20

what os does he use

Ответить
Nelson Mutane
Nelson Mutane - 05.07.2022 17:20

Thanks a lot

Ответить
HeadCode
HeadCode - 16.06.2022 18:09

Dude, your videos are great!

Ответить
GOODIES
GOODIES - 07.06.2022 07:52

How can we do this with a next js component

Ответить
Amin Dhahri
Amin Dhahri - 02.06.2022 15:25

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?

Ответить
Stormy Bear Florida
Stormy Bear Florida - 31.05.2022 01:11

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.

Ответить
Hellohost
Hellohost - 20.05.2022 18:01

could you please place your command line higher up?

Ответить
Cody Fisher
Cody Fisher - 15.05.2022 21:29

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?

Ответить
Saad Tanveer
Saad Tanveer - 11.05.2022 11:03

you simply publish a function i want to publish whole backend server side code(apis) how to do that?

Ответить
alireza af
alireza af - 05.05.2022 13:10

great

Ответить