Ar.js: npm package?

Created on 23 Feb 2017  Â·  16Comments  Â·  Source: jeromeetienne/AR.js

Hey @jeromeetienne ! Great work!
Is AR.js available on npm? If not, it'd be great for portability (and wider adoption IMHO).
Cheers

Most helpful comment

@jeromeetienne Done. Check please
/ping @dheavy

All 16 comments

Not at the moment, but why not, if it helps people :)

I never did it tho, any good url to suggest on how to do that ?

i did the search myself :) i just published this

is that ok ? did i forgot something

it says no README.md.. but there is one

im guessing it is a cache issue somewhere

@jeromeetienne Just came with the same problem. Already reserved a place for whs-module-ar.js but have no idea how can I include AR.js with es6.
May I do a pull request here to add npm support?

@sasha240100 sure go ahead :)

@jeromeetienne Done. Check please
/ping @dheavy

amzing !!! @jeromeetienne

Awesome work thanks

Looks like this link does nothing: https://runkit.com/npm/ar.js
Which was accessed though:
image

@sorianog That's because it's not yet implemented as modules. It will not work from npm yet

Hey @jeromeetienne,

Wonderful module! Do you mind updating the npm build with your latest work?

unfortunatly i got no knowledge of npm, so for that to be done, we would
need somebody to do it and contribute :)

On Tue, May 16, 2017 at 4:05 AM Tomasz Dysinski notifications@github.com
wrote:

Hey @jeromeetienne https://github.com/jeromeetienne,

Wonderful module! Do you mind updating the npm build with your latest work?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jeromeetienne/AR.js/issues/7#issuecomment-301662672,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPcInG3BQmHSyezcBgEUBaSfnKAOheEks5r6RJhgaJpZM4MJ32K
.

@jeromeetienne In order to upgrade your npm package yon can:

  • Change the version of the package.json file from 1.0.0 to 1.1.0 by exemple
  • Log your computer to NPM if you are not already logged (check that with npm whoami) : npm adduser
  • Launch the command npm publish

When can we use the npm version of the ar.js?

there is a contrib for it, but i admit it isnt updated. so the answer is likely 'not now' ?

The things is that i dont use npm for browsers... so i would need somebody either to do it.

Something clean and standalone would be great

Further discussions/progress in #251

Was this page helpful?
0 / 5 - 0 ratings