algolia / algoliasearch-client-javascript

⚡️ A fully-featured and blazing-fast JavaScript API client to interact with Algolia.
https://www.algolia.com/doc/api-client/javascript/getting-started/
MIT License
1.33k stars 222 forks source link

Package does not seem to exist: npm install algoliasearch-lite #1489

Closed bkuhl closed 1 year ago

bkuhl commented 1 year ago

Following the directions in this documentation for installing the module, it seems like I should be able to run npm install algoliasearch-lite, however when I do the package doesn't seem to exist. Is there a way to only install the lite version via npm?

$ npm install algoliasearch-lite                   
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/algoliasearch-lite - Not found
npm ERR! 404 
npm ERR! 404  'algoliasearch-lite@*' is not in this registry.
shortcuts commented 1 year ago

Hey, the lite package is not a standalone package but part of algoliasearch, you can do npm install algoliasearch and then import 'algoliasearch/lite

shortcuts commented 1 year ago

Hey, the lite package is not a standalone package but part of algoliasearch, you can do npm install algoliasearch and then import * from 'algoliasearch/lite'

bkuhl commented 1 year ago

Gotcha, thanks for the quick response!