New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-sourcegraph

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sourcegraph

Simple node api client for Sourcegraph.

latest
Source
npmnpm
Version
0.0.0
Version published
Maintainers
1
Created
Source

WIP.

Simple node api client for sourcegraph. Unofficial, WIP.

npm install node-sourcegraph

AGPL-Licensed.

Jk, it's MIT.

Examples

var sourcegraph = require('sourcegraph');
sourcegraph.repos.get('github.com/learnboost/mongoose', function(err, doc) {
	if(err) throw err;
	console.log(doc);
});

Output:

{ RID: 111891,
  URI: 'github.com/LearnBoost/mongoose',
  Name: 'mongoose',
  OwnerUserID: 271,
  OwnerGitHubUserID: 204174,
  Description: 'MongoDB object modeling designed to work in an asynchronous environment.',
  VCS: 'git',
  CloneURL: 'https://github.com/LearnBoost/mongoose.git',
  ActualCloneURL: null,
  HomepageURL: 'http://mongoosejs.com',
  DefaultBranch: 'master',
  Language: 'JavaScript',
  GitHubStars: 5632,
  GitHubID: 597879,
  Deprecated: false,
  Fork: false,
  Mirror: false,
  Private: false,
  Stat: null }

Keywords

sourcegraph

FAQs

Package last updated on 23 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts