This package provides a standardized layer for accessing crunchbase services along with TypeScript typings.
Current version: v4.0
Install the service in your own project
npm install @torch-ai/crunchbase
At the top of your application, or in an imported configuration file:
// Import the service definition and environment constants
import Crunchbase from "@torch-ai/crunchbase";
// Create an instance of the service
const crunchbase = new Crunchbase(process.env.API_KEY, {});
export default crunchbase;
try {
const { entities } = await service.autocomplete.search("Tesla", [
"organizations",
]);
} catch (error) {}
This package is provided through an MIT license. Usage of this package is freely available without restriction.
Crunchbase itself has its own terms of service, account registration, and attribution requirements.
Clone the package from the repository.
npm install
A local file .env
file will need to be created with credentials for the api:
API_KEY=****
You may run tests in a continuous watch mode:
npm run-script test:watch
Open an issue requesting a version to publish.