npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ffras4vnpm/dolorum-at-voluptas

v1.0.0

Published

<span align="center">

Downloads

3

Maintainers

lank831011lank831011

Keywords

sliceshimless mixinstypesafefixed-widthmime-dbwalkingerrorcssnegative zerooncexdg[[Prototype]]limitRxJSnodelook-uppolyfillprotocol-buffersdeepcopyjestsymboljQuerylengthutill10nsymlinkses2016deep-copycompilerthroatsanitizationstringifyfastcopyescapeoperating-systembatchqscolorsMapexpressionmomentbreakfast-copyratelimitwrapbootstrap lessflatteninferenceposespinnerdroprmconnectsaferuntimewritablethreebabelpackagesfpframeworkstablebyteLengthawesomesauceoffsetlockfilefigletserializationrecursiveArrayBuffer.prototype.slicesignalexit-coderedux-toolkitarraybufferArrayBufferECMAScript 2017stylettyarttypepropsuperstructbusybundlingtypescriptuuidhashefficientajvnativeprotoECMAScript 2018ES2016parentdeterministicsymlinktrimLeftcomputed-typesgradients css3Symbol.toStringTagimportcacheArray.prototype.includescmdUint8ClampedArrayObject.keysassertast256getoptstreamsfull-widthform-validationsidejsxFunction.prototype.nameregular expressioncore-js@@toStringTagvaluesmkdirstelephonemkdirfilterfastcloneArray.prototype.flattenharmonyjapanesetappoint-freeprunerequireeslint-pluginsyntaxenderexitmatchcss variablees5variables in cssschemeinstalljasminelastwatchingWeakMapfseventseventsoutputvisualnegativeInt16Arraytypedcompile lessfunctionslazyclass-validatorextensionpopmotioncoerciblestyleguideemojiclassesdotenvphoneCSSStyleDeclarationassertsdefaultsigintdeeppromisefindLastES2018loadingwatcherECMAScript 2019diffbrowser$.extendmakeponyfillMicrosoftpostcss-pluginopenfast-deep-clonecollection.es6es2017classnamesindicatorbyteassignopenerutil.inspectless cssjson-schema-validatorstatustostringtagreact poseworkspace:*nopeprivatedeep-clonecallboundES2017yupcss lessconcatMaptextenvironmentFloat64ArraygroupvarjsonschemaObject.isjson-schemaES2022throttlecollectiona11yclonegradients csslibphonenumbercommand-linemkdirprapidirqregularargvwgetes2018es2015es-shimsauthenticationhttpoptimistshelljoianimationextendArray.prototype.flatfind-upfullES2015packageinputpreserve-symlinksfindviewspeedpathargparsecurriedtimesettingsdom-testing-librarywebsiteurlTypedArrayrequestiterationdirectoryhasOwnkoreanshamyamlless compilertypesfile systemnametypeofieserializerObject.assignjsonpropertiesapolloPromiselinkECMAScript 2015syntaxerrorurlschromiumpicomatchauthgesturesapisharedtranspilerreadECMAScript 2021formattingbootstrap cssutilsrobusttrimRightquerystringinvariantvariables

Readme

logo

PactumJS

Build Coverage Downloads Size Platform

Stars Twitter

REST API Testing Tool for all levels in a Test Pyramid

PactumJS is a REST API Testing Tool used to automate e2e, integration, contract & component (or service level) tests.

  • ⚡ Swift
  • 🎈 Lightweight
  • 🚀 Simple & Powerful
  • 🛠️ Compelling Mock Server
  • 💎 Elegant Data Management
  • 🔧 Extendable & Customizable
  • 📚 Clear & Comprehensive Testing Style
  • 🔗 Component, Contract & E2E testing of APIs

----------

Documentation

This readme offers an basic introduction to the library. Head over to the full documentation at https://@ffras4vnpm/dolorum-at-voluptasjs.github.io

Need Help

We use Github Discussions to receive feedback, discuss ideas & answer questions.

Installation

# install @ffras4vnpm/dolorum-at-voluptas as a dev dependency
npm install --save-dev @ffras4vnpm/dolorum-at-voluptas

# install a test runner to run @ffras4vnpm/dolorum-at-voluptas tests
# mocha / jest / cucumber
npm install --save-dev mocha

or you can simply use

npx @ffras4vnpm/dolorum-at-voluptas-init

----------

Usage

@ffras4vnpm/dolorum-at-voluptas can be used for all levels of testing in a test pyramid. It can also act as an standalone mock server to generate contracts for contract testing.

API Testing

Tests in @ffras4vnpm/dolorum-at-voluptas are clear and comprehensive. It uses numerous descriptive methods to build your requests and expectations.

Simple Test Cases

Using Mocha

Running simple api test expectations.

const { spec } = require('@ffras4vnpm/dolorum-at-voluptas');

it('should be a teapot', async () => {
  await spec()
    .get('http://httpbin.org/status/418')
    .expectStatus(418);
});

it('should save a new user', async () => {
  await spec()
    .post('https://jsonplaceholder.typicode.com/users')
    .withHeaders('Authorization', 'Basic xxxx')
    .withJson({
      name: 'bolt',
      email: '[email protected]'
    })
    .expectStatus(200);
});
# mocha is a test framework to execute test cases
mocha /path/to/test

Using Cucumber

See @ffras4vnpm/dolorum-at-voluptas-cucumber-boilerplate for more details on @ffras4vnpm/dolorum-at-voluptas & cucumber integration.

Scenario: Check Tea Pot
  Given I make a GET request to "http://httpbin.org/status/418"
  When I receive a response
  Then response should have a status 418
// steps.js
const @ffras4vnpm/dolorum-at-voluptas = require('@ffras4vnpm/dolorum-at-voluptas');
const { Given, When, Then, Before } = require('@cucumber/cucumber');

let spec = @ffras4vnpm/dolorum-at-voluptas.spec();

Before(() => { spec = @ffras4vnpm/dolorum-at-voluptas.spec(); });

Given('I make a GET request to {string}', function (url) {
  spec.get(url);
});

When('I receive a response', async function () {
  await spec.toss();
});

Then('response should have a status {int}', async function (code) {
  spec.response().should.have.status(code);
});

Mock Server

@ffras4vnpm/dolorum-at-voluptas can act as a standalone mock server that allows us to mock any server via HTTP or HTTPS, such as a REST endpoint. Simply it is a simulator for HTTP-based APIs.

Running @ffras4vnpm/dolorum-at-voluptas as a standalone mock server.

const { mock } = require('@ffras4vnpm/dolorum-at-voluptas');

mock.addInteraction({
  request: {
    method: 'GET',
    path: '/api/projects'
  },
  response: {
    status: 200,
    body: [
      {
        id: 'project-id',
        name: 'project-name'
      }
    ]
  }
});

mock.start(3000);

----------

Notes

Inspired from frisby and pact.

Support

Like this project! Star it on Github and follow on Twitter. Your support means a lot to us.

Contributors

If you've ever wanted to contribute to open source, and a great cause, now is your chance! See the contributing docs for more information.

Thanks to all the people who contribute.