Ask coding questions

← Back to all posts
Packages
dfnk (32)

How would you put your package on repl.it?

Voters
dfnk (32)
Commentshotnewtop
dfnk (32)

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

SixBeeps (2289)

Repl.it pulls packages from PyPI

Bookie0 (2605)

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! : )

dfnk (32)

@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

Bookie0 (2605)

Yeah I think you can search it. @dfnk

dfnk (32)

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

Bookie0 (2605)

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

TheForArkLD (607)

@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.
dfnk (32)

@TheForArkLD When I finish this will it be published?

dfnk (32)

@TheForArkLD Thank you I will try this :)

TheForArkLD (607)

@dfnk Ok :)


Can you code C#?
i need help

dfnk (32)

@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?

dfnk (32)

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

dfnk (32)

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

dfnk (32)

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

TheForArkLD (607)

@dfnk oh ok.
pls remember these


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

dfnk (32)

@TheForArkLD Oh, thanks so much! =)

dfnk (32)

@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?

TheForArkLD (607)

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

Bookie0 (2605)

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! : )

dfnk (32)

@Bookie0 I apologize, sorry.

Bookie0 (2605)

Np it’s all good! :) @dfnk