Coder Social home page Coder Social logo

Comments (6)

Raynos avatar Raynos commented on July 22, 2024

Thanks.

I will look into a PR for this

from requirebin.

max-mapper avatar max-mapper commented on July 22, 2024

@Raynos you can try editing the package.json via the gist.github.com interface, and then reloading requirebin. there may be a bug there though, which is that I am not sure if the loading of cached modules (stored in indexeddb with level.js) will trigger cache misses if the version in package.json is newer than what's cached. that might be a good place to start if it doesn't do it already

from requirebin.

kirbysayshi avatar kirbysayshi commented on July 22, 2024

@maxogden what do you think about allowing require within requirebin to do this:

var somepackage = require('[email protected]');

Perhaps it could either be a runtime check (find requires, then parse out possible @ when requesting deps) or whenever it's present in a require statement, it's used to update the package.json file but is stripped out when saving the actual file.

from requirebin.

max-mapper avatar max-mapper commented on July 22, 2024

i'd rather have it be in some UI on the side, that way code is compatible with normal browserify/node usage

from requirebin.

kirbysayshi avatar kirbysayshi commented on July 22, 2024

Cool cool, makes sense. Was just batting around the idea to keep the ui as minimal as possible.

from requirebin.

mauriciopoppe avatar mauriciopoppe commented on July 22, 2024

@maxogden package.json is now editable since #74, and modules are saved in the cache in the form module@version, e.g. [email protected] since max-mapper/browser-module-sandbox#11. There's the latest version bug on bundles (browserify/wzrd.in#75) which is not part of this issue, any objection to close this one?

from requirebin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.