Comments (9)
https://www.npmjs.com/package/@flyover/box2d
from box2d.ts.
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.
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.
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.
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.
Yes you are right about it not being the same project. It's just similar named.
from box2d.ts.
any updates on this one, @flyover?
from box2d.ts.
@flyover would you authorize somebody to release on npmjs/yarnpkg ?
from box2d.ts.
Thanks @flyover
from box2d.ts.
Related Issues (20)
- DrawShape implementation differs from C++ version HOT 1
- This project dead? HOT 2
- v1.0.1 significant performance decrease compared to v1.0.0 HOT 3
- Point npm box2d.ts to canonical repo @flyover/box2d
- chain shakes when dragged
- Is there has easy way to simulate with HTML canvas?
- ParticleContactListener dose not work๏ผ
- where has `SetAsArray` method gone? HOT 3
- b2BodyType enum is not getting built by tsc
- bug with newest version HOT 2
- Pitching an idea: Full blown Box2D ecosystem HOT 19
- Differences to original box2d HOT 5
- Why use import *.js in *.ts files HOT 2
- how can i use b2Separator?
- b2World::Step crashes in some cases after SetPosition and DestroyBody are called HOT 2
- I've updated my benchmark for 3 active js Physics Engines. HOT 2
- Website doesn't work HOT 2
- npm version and rgb render
- Feature Request: Implementation of b2Draw, SetDebugDraw and DebugDraw HOT 3
- Origin of Particles? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box2d.ts.