
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@labelbox/labeling-api
Advanced tools
An SDK for the Labelbox API.
See the Labelbox Custom Interface Documentation for more information.
You can either load the SDK through an HTML script
tag or install the npm package.
script
TagAdd a script
tag with the SDK's URL on unpkg in your interface's HTML:
<script src="https://unpkg.com/@labelbox/labeling-api"></script>
This will add Labelbox
as a globally-accessible variable.
npm install @labelbox/labeling-api;
import
or require
the package (depending on your environment):import Labelbox from '@labelbox/labeling-api';
// or
const Labelbox = require('@labelbox/labeling-api');
See the Labelbox Custom Interface Documentation for usage instructions and an API reference.
To build the package locally, run yarn build
.
Production API serves the package version that has the latest
npm dist-tag. Never run npm publish
directly. The tagging scheme for labeling-api is as follows:
latest
: Production build. This will be served by api.labelbox.com & installed when a customer installs via npm install @labelbox/labeling-api
next
: Staging build. This will be served by staging-api.labelbox.com. This will be served by your local api server by default.dev
: Local builds only. Will never be served from production or staging.To update the labeling-api build for production run yarn publish:prod
. This should be done when a when a commit that changes this package hits the master
branch.
To update the build for staging run yarn publish:next
. This should be done when a commit that changes this package hits the develop
branch.
To test out development builds publish to dev
channel via, yarn publish:dev
. You will need to update LABELING_API_VERSION
env var of your local api server to serve this channel.
FAQs
An SDK for the Labelbox API
We found that @labelbox/labeling-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.