Skip to content
Sign upLog in
← Back to Community

Packages

Profile icon
dfnk

How would you put your package on repl.it?

Voters
Profile icon
ArpitSingh11
Profile icon
TERRYG1
Profile icon
MountPBC
Profile icon
Wrathbull
Profile icon
GGaary
Profile icon
MANAV0201
Profile icon
dfnk
Comments
hotnewtop
Profile icon
dfnk

I think I have just figured it out thanks, everybody!

Profile icon
dfnk

@TheForArkLD
How would I do that?

Profile icon
dfnk

OK

Profile icon
SixBeeps

Repl.it pulls packages from PyPI

Profile icon
Bookie0

Well if you know what package you’re going to use, you can just start coding as if the package existed, and when you run the code, it should download automatically. Otherwise just import it.

Hopes this hepls! : )

Profile icon
dfnk

@Bookie0
I was wondering how to get you package on to the tab about packages, and if you search for your package it will come up

Profile icon
Bookie0

Yeah I think you can search it.

@dfnk

Profile icon
dfnk

@Bookie0
What about if I want to put my package that I made with NPM?

Profile icon
Bookie0

Hum i dont know. Maybe try coding as if you installed the packages, and it might download itself. However, you said you made it so it might not work.
Good luck tho!

@dfnk

Profile icon
TheForArkLD

@dfnk
ik how to make.

  1. Make NPM Account.
  2. make bash project in repl.
  3. make folder for package.
    (3.5 write your program for package.)
  4. change directory to folder for package.
  5. type npm init.
  6. write this script in main.sh :
cd path-to-pack npm login npm publish
  1. run.
Profile icon
dfnk

@TheForArkLD
When I finish this will it be published?

Profile icon
TheForArkLD

@dfnk
yes.

Profile icon
dfnk

@TheForArkLD
Thank you I will try this :)

Profile icon
TheForArkLD

@dfnk
Ok :)


Can you code C#?
i need help

Profile icon
dfnk

@dfnk
I think this way would publish to NPM. So I already have a package on NPM is there a way to search in the package tab and it popping up?

Profile icon
dfnk

@TheForArkLD
Sorry, I can't help you in the language ;(. so sorry, I don't now it

Profile icon
TheForArkLD

@dfnk
oh, ok :)

Profile icon
dfnk

@TheForArkLD
So do you now a way to get a package from NPM onto packages in repl.it?

Profile icon
TheForArkLD

@dfnk
wdym

Profile icon
dfnk

@TheForArkLD
Sorry, I am not great at abbreviations, what are you saying?

Profile icon
TheForArkLD

@dfnk
oh ok.
pls remember these


pls == please
wdym == what do you mean
afk == away from keyboard

Profile icon
dfnk

@TheForArkLD
Oh, thanks so much! =)

Profile icon
TheForArkLD

@dfnk
np(no problem) :)

Profile icon
dfnk

@TheForArkLD
So what I was trying to say was that, in a repl.it next to the settings and file tabs on the left (default) there is also a package tab. In that you can search for packages and find them. I was wondering how to put your own packages there?

Profile icon
TheForArkLD

@dfnk
ahhh ok, publish package to add package by auto

Profile icon
dfnk

@TheForArkLD
Yes!!

Profile icon
Bookie0

Guys!

@dfnk
@TheForArkLD

Y’all were pinging me so much! If you want to talk, like a lot (17 notifications!) please don’t reply to my comment! Thanks! : )

Profile icon
TheForArkLD

@Bookie0
ok!

Profile icon
dfnk

@Bookie0
I apologize, sorry.

Profile icon
Bookie0

Np it’s all good! :)

@dfnk

Profile icon
dfnk

@Bookie0
=)