Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@clearroad/api
Advanced tools
[![Build Status](https://travis-ci.org/clearroad/clearroad-api.svg?branch=master)](https://travis-ci.org/clearroad/clearroad-api) [![Coverage Status](https://coveralls.io/repos/github/clearroad/clearroad-api/badge.svg?branch=master)](https://coveralls.io/
$ npm install @clearroad/api
If you want to include the files directly in your page, you can include via our CDN:
<script src="https://clearroadlab.azureedge.net/lib/rsvp.js"></script>
<script src="https://clearroadlab.azureedge.net/lib/jio.js"></script>
<script src="https://clearroadlab.azureedge.net/api/clearroad.js"></script>
import { ClearRoad } from '@clearroad/api';
const cr = new ClearRoad('apiUrl', 'accessToken');
const ClearRoad = require('@clearroad/api').ClearRoad;
const cr = new ClearRoad('apiUrl', 'accessToken');
const ClearRoad = require('@clearroad/api/node').ClearRoad;
const cr = new ClearRoad('apiUrl', 'accessToken');
By default, the api will use indexeddb
as local storage. If you want to change the storage (or if you are using node and you need to), you can use:
const cr = new ClearRoad('apiUrl', 'accessToken', {
type: 'dropbox',
accessToken: 'accessToken'
});
The options are:
Type | Description | Options | Support | Need access token |
---|---|---|---|---|
indexeddb | Native Browser IndexedDB storage | type: string | Browser only | No |
dropbox | Storage data in a dropbox account | type: string, accessToken: string | Browser and Node | Yes |
gdrive | Storage data in a google drive account | type: string, accessToken: string | Browser and Node | Yes |
FAQs
[![Build Status](https://gitlab.com/clearroad/api/badges/master/pipeline.svg)](https://gitlab.com/clearroad/api/commits/master) [![Travis-CI Status](https://travis-ci.org/clearroad/clearroad-api.svg?branch=master)](https://travis-ci.org/clearroad/clearroa
The npm package @clearroad/api receives a total of 61 weekly downloads. As such, @clearroad/api popularity was classified as not popular.
We found that @clearroad/api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.