Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crates.io

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crates.io - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

dist/api/CratesAPI.d.ts

7

dist/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./APIClient"));
__export(require("./APIException"));
__export(require("./interfaces/"));
//# sourceMappingURL=index.js.map

3

package.json

@@ -8,3 +8,2 @@ {

"devDependencies": {
"@types/jasmine": "3.3.9",
"@types/node": "11.10.5",

@@ -46,3 +45,3 @@ "prettier": "1.16.4",

},
"version": "0.0.1"
"version": "0.1.0"
}

@@ -18,6 +18,24 @@ # crates.io.js [![npm version](https://img.shields.io/npm/v/crates.io.svg?style=flat)](https://www.npmjs.com/package/crates.io) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=ffflorian/crates.io.js)](https://dependabot.com)

const cratesIO = new CratesIO('my-api-key');
const cratesIO = new CratesIO();
cratesIO
.summary()
.then(data => {
...
});
cratesIO
.api.crates.getAuthors('ripgrep', '0.10.0')
.then(data => {
...
});
cratesIO
.api.crates.getCrates('http', {per_page: 10})
.then(data => {
console.log(data);
});
```
## Build and test
## Build

@@ -24,0 +42,0 @@ ```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc