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

@hishprorg/corporis-eius

v5.6.71

Published

[![Build Status](https://travis-ci.org/godaddy/@hishprorg/corporis-eius.svg?branch=master)](https://travis-ci.org/godaddy/@hishprorg/corporis-eius) [![npm version](https://badge.fury.io/js/@hishprorg/corporis-eius.svg)](https://www.npmjs.com/package/@hish

Downloads

939

Maintainers

hatrungvk94hatrungvk94

Keywords

compilerautoprefixerowndynamodbstructuredClonefull-width256workflowmerge-0typedfullwidthObservablesframerbinsharedparserfpstransportspeedgroupBytypeoftoArraygetintrinsic.envcollection.es6loadbalancingdescriptionArray.prototype.flatnopetacitsymlinksyntaxoffsettypedarraywritebundlerbusycloneFloat32ArraywgetchannelcryptprototypepopmotionasserthardlinkskinesisYAMLpropertyschemehookformpushlanguagextermECMAScript 3figletlibphonenumbercloudsearch3denvironmentssameValueZerolrucall-bindtermreusemockinglogCSSStyleDeclarationbyteLengthexecfilespawnscheme-validationposefptoSortedtelephonedeepclonesidejwtforkfilterminimalrangeerrornegative zerocertificatesstyleguidefindECMAScript 2019cssformattingSymbol.toStringTaggraphqlramdaselfhasOwnPropertycallbackformcachestatelessfastcloneregular-expressionclassnameECMAScript 6commandfromsettermkdirptimeassertsefficientconsumestyled-componentstrimStartrgbfindLastIndexFloat64ArraybyteOffset_.extendpostcsscheckinternalECMAScript 2020fast-copyBigInt64Arraytddshamreact-testing-librarytypessnsdefinePropertyES2017varserializationpatchl10nreducertypeerrorloadingreducehttppackage managersorteduninstallspringURLcallbindfiletoolsgradients css3trimRightfnmatchauthchinesesharedarraybufferexites2015functioncss variableqsloggerimmerfunctionalECMAScript 2016hasignorenegativegetObject.definePropertyurldependency managerprotocol-bufferselectronslicewhatwgtypanionwritablerecursivezerotsextraSet.gitignoreStyleSheetecmascriptoptionjson-schemaRxJStc39buffergetOwnPropertyDescriptorES2020keyprivate datastylingworkerobjectzodES2018matchAllsettingsisperformancereadableglobstringifierWeakMapbabelpreprocessorroute53accessibilitypredictablerequestmixinsmake dirrandomweaksets3errorECMAScript 2023codesawesomesaucearrays

Readme

TIMINGS API

Build Status npm version Node version contributions welcome

The @hishprorg/corporis-eius API is a solution for asserting web UI or API performance during functional/integration tests! The simple idea is that you inject some javascript into the headless browser that you use for UI testing (i.e. webdriver) to collect navigation timing which can then be stored in elasticsearch. In subsequent runs of your tests, the new performance data can be compared to historical results (the 'baseline') and asserted like any other assertion that you may perform in your tests. For API tests, you can set start/stop timers and store the delta in elasticsearch and follow the same routine to assert.

Run this API in your local network => install one of the clients on your dev/test machine => add a few lines of code => assert perf against historical baselines & visualize historical data!

IMPORTANT NOTICE: SIGNIFICANT UPDATE to 2.x

This version of the Timings API introduces a few major updates and you should carefully read the following announcements!

If you have used this repo/product before or if you are a current user, you may face a few challenges and/or breaking changes! Make sure you pay close attention when updating to a new version of Elasticsearch!

Main changes

  1. Upgrade to Elasticsearch & Kibana 7 ... only!
    • the amount of coding & maintenance involved in supporting three major versions of Elastic turned out to be too much to handle
    • You can follow the steps in this document to upgrade your data: Upgrade elastic
    • If you start the API and point it at an Elastic stack that has a version < 7.x, the API will work but no data will be written to Elasticsearch
  2. The minimum node version has been bumped to 16.x
    • Please upgrade to nodejs 16.x or higher if you want to run the API stand-alone
  3. A new admin UI - offering:
    • an overview of the main components and their status
    • ability to change & save your config
    • log viewer giving you insight into the app, access and error logs
    • the swagger page (moved from being the main page to being embedded in the new UI)
  4. The config file now has to be in .json format
    • previous versions also allowed .js and .yml|.yaml formats - that is no longer the case
    • Please convert your config file to .json format!

For other changes, please see the CHANGELOG

BREAKING CHANGES

The --configfile argument is no longer supported If you are currently using the --configfile argument to start your @hishprorg/corporis-eius API server, you have to replace it with a CONFIGFILE environment variable! For more info and updated startup commands, see here

Recommendations

It is highly recommended that you run this product in a Docker environment using the @hishprorg/corporis-eius-docker repo. This repo provides a convenient way to run the @hishprorg/corporis-eius API as well as the currently supported Elastic Stack.

If you do (or have to) run the API stand-alone and/or run your own Elastic stack, the recommended versions are:

  • nodejs: 17.x
  • Elastic stack: 7.17.0
    • elastic stack 8.x has not been tested yet!

again, if you're updating your Elasticsearch data, you can use the upgrade steps outlined here: @hishprorg/corporis-eius-docker -> UPDATING.md

How to use

You can find extended documentation for the @hishprorg/corporis-eius API here: USAGE.md

The @hishprorg/corporis-eius API can be run "stand-alone" as a node/express application, with or without Elasticsearch for data storage:

  • Stand-alone:
    • The API can be used to collect performance metrics from web pages and/or API endpoints during integration/UI tests
  • With elasticsearch:
    • The API can be used to collect performance metrics from web pages and/or API endpoints during integration/UI tests
    • The API will use historical data stored in Elasticsearch for baselining and will return any (dynamic) threshold breaches in the responses
    • Kibana can be used to visualize historical data