heremaps / flexible-polyline

Flexible Polyline encoding: a lossy compressed representation of a list of coordinate pairs or triples
MIT License
89 stars 76 forks source link

Can't find @here/flexpolyline in npm registry #5

Closed samzmann closed 4 months ago

samzmann commented 4 years ago

Hi there, wow, first issue in the repo!

I'm trying to install the node.js package with the command yarn add @here/flexpolyline and I get this error:

error An unexpected error occurred: "https://registry.yarnpkg.com/@here%2fflexpolyline: Not found".

Searching for "@here/flexpolyline" on npm.com returns nothing :/ So I'm guessing the package is not published yet. Or is it published somewhere else?

What is the expected use of this lib? Should I just copy the code from https://github.com/heremaps/flexible-polyline/blob/master/javascript/index.js into my own project?

Thanks!

lene commented 4 years ago

Hi! Yes, I am sorry, @here/flexpolyline is not yet published on npm.com. We are currently in the process of pushing it, but due to company policies that can take significantly longer than just running npm publish, I'm afraid.

In the meantime, yes, copying the code is the preferred way!

samzmann commented 4 years ago

Oki doki, thanks.

knownasilya commented 3 years ago

Um, still not published.

lene commented 3 years ago

Reopening since yes, this should be done

hanatharesh2712 commented 3 years ago

Please publish this package. really needed!

olivercs commented 3 years ago

I tried today but still not published. Any updates on this?

Caerbannog commented 3 years ago

In the meantime I have published the current master (71c34cb) here: https://www.npmjs.com/package/@liberty-rider/flexpolyline

Usage:

npm install @liberty-rider/flexpolyline
import flexpolyline from '@liberty-rider/flexpolyline';
hanatharesh2712 commented 2 years ago

@Caerbannog How can we use this package in Typescript with Node JS? any minimum steps? thanks!

mutantcornholio commented 2 years ago

Still not there =)

samzmann commented 2 years ago

Just contacted a friend who works at Here, maybe they can help getting this published 🤞

niko-gardenanet commented 8 months ago

Still not published!

samzmann commented 8 months ago

image

haraldF commented 4 months ago

Until it's finally published, you can use a workaround via gitpkg:

npm install https://gitpkg.now.sh/heremaps/flexible-polyline/javascript
haraldF commented 4 months ago

It's published: https://www.npmjs.com/package/@here/flexpolyline

allencoded commented 2 months ago

This is not published.

npm i @here/flexpolyline --save
npm ERR! code E404
npm ERR! 404 Not Found - GET https://repo.platform.here.com/artifactory/api/npm/maps-api-for-javascript/@here%2fflexpolyline
npm ERR! 404
npm ERR! 404  '@here/flexpolyline@*' is not in this registry.
VeaaC commented 2 months ago

@allencoded it looks to me like you are using a npm mirror? Maybe that one does not contain the package. Can you try against the official repo?