@depscloud/api

0.3.3 • Public • Published

Getting Started with NodeJS

To install:

npm install --save @depscloud/api

Usage:

const grpc = require('@grpc/grpc-js');

const { DependencyExtractor } = require('@depscloud/api/v1alpha/extractor');
const {
    SourceService,
    ModuleService,
    DependencyService,
} = require('@depscloud/api/v1alpha/tracker');

const target = "api.deps.cloud:443";
const creds = grpc.credentials.createSsl();

const sourceService = new SourceService(target, creds);
const moduleService = new ModuleService(target, creds);
const dependencyService = new DependencyService(target, creds);

Google Analytics

/@depscloud/api/

    Package Sidebar

    Install

    npm i @depscloud/api

    Weekly Downloads

    1

    Version

    0.3.3

    License

    MIT

    Unpacked Size

    51.6 kB

    Total Files

    42

    Last publish

    Collaborators

    • mjpitz