Socket
Book a DemoInstallSign in
Socket

boxrec-mocks

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxrec-mocks

a repo for BoxRec mocks that can be used for testing/development

3.0.2
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

BoxRec Mocks

Makes request to BoxRec and saves the pages as HTML files. To be used for testing purposes.

Installation

yarn add boxrec-mocks -D

or

npm install boxrec-mocks -D

Generating the mocks

Set environment variables

export BOXREC_USERNAME=
export BOXREC_PASSWORD=

and then run

yarn start

Usage (importing into other projects for testing purposes)

npm link this project to your project

then in your project import it

// import all
import * as BoxrecMocks from "boxrec-mocks";

or

// import one mock
import {mockMiddleweightWBCBelt} from "boxrec-mocks";

or

// import all
const boxrecMocks = require("boxrec-mocks");

Note

Not affiliated with the website BoxRec

Keywords

boxrec

FAQs

Package last updated on 12 Nov 2019

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.