Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @undefinedlabs/scope-agent with all npm packages installed. Try it out:

var scopeAgent = require("@undefinedlabs/scope-agent")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@undefinedlabs/scope-agent v0.7.4

Scope agent

Scope

Scope Javascript Agent

Javascript agent for Scope

Install

With npm:

npm install @undefinedlabs/scope-agent

With yarn:

yarn add @undefinedlabs/scope-agent

Usage

Please refer to the documentation at https://docs.scope.dev/docs/javascript-installation

Development

Before you run the unit and e2e tests you need to build the project:

npm run build

Linter

To run the linter:

npm run lint

Unit tests

To run the unit tests:

npm test

E2E tests

To run the E2E tests:

npm run setup:e2e && npm run test:e2e

Publishing

To publish a new version of scope-javascript-agent to npm:

npm run npm:publish

You need to set NODE_AUTH_TOKEN environment variable with the npm auth token.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free