Git Product home page Git Product logo

Comments (9)

flyover avatar flyover commented on August 23, 2024 4

https://www.npmjs.com/package/@flyover/box2d

from box2d.ts.

chapterjason avatar chapterjason commented on August 23, 2024

You can install it without having it on npmjs.

package.json:

// [...]
"dependencies": {
        "@flyover/box2d": "git://github.com/flyover/box2d.ts.git"
}
// [...]

typescript:

import * as box2d from "@flyover/box2d";

from box2d.ts.

Nek- avatar Nek- commented on August 23, 2024

Of course. And by the way, I recommend the following configuration "@flyover/box2d": "github:flyover/box2d.ts#master" which is also compatible with yarn.

But it would be better to have it on npm.

from box2d.ts.

WowMuchName avatar WowMuchName commented on August 23, 2024

While you can import the library the ways described above it is hardly a good idea.
If you really want to do it that way, depend on a commit - not master. That way you at least depend on a stable version that wont change in ways that might break your code.

Stumbling over this project I am really impressed with the work that was put into it. However, having it not be properly versioned means I am not going to use it for any serious project.

A 3 year old version of this project is already on npm as 0.0.1. There is no work to be done apart from calling npm publish when the project is updated. This seems like a reasonable time investment, in particular since the entry on npm suggests that the project is dead.

from box2d.ts.

Nek- avatar Nek- commented on August 23, 2024

Indeed, my config suggestion was an example. Anybody should prefer a commit version.

AFAIK there's nothing on npm named "@flyover/box2d". Maybe you speak about node-box2d ( https://www.npmjs.com/package/@flyover/node-box2d ). Notice that:

  • it is not the same project
  • here it is typescript (frontend compliant)

from box2d.ts.

WowMuchName avatar WowMuchName commented on August 23, 2024

Yes you are right about it not being the same project. It's just similar named.

from box2d.ts.

Fxlr8 avatar Fxlr8 commented on August 23, 2024

any updates on this one, @flyover?

from box2d.ts.

Nek- avatar Nek- commented on August 23, 2024

@flyover would you authorize somebody to release on npmjs/yarnpkg ?

from box2d.ts.

Nek- avatar Nek- commented on August 23, 2024

Thanks @flyover

from box2d.ts.

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.