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

reflow-circuit

v3.0.0-gamma.55

Published

Reflow Circuit

Downloads

81

Readme

reflow|circuit

queries: list all projects => last ran job => last job status => github repo => jenkins link

list all jobs => status of the job => number of threads => number of flows => number of combinations => source branch => target branch => started at => completed at

list all flows => number of combinations in the flow => number of successes => number of failures

list all combinations => number of success => number of failures => number of skipped

view report for combination => spit reporter output for combination

Elastic

curl -XPUT 'localhost:9200/reflow/_mapping/flow?pretty' -H 'Content-Type: application/json' -d'
{"properties":{"duration":{"type":"float"},"endTime":{"type":"date","format":"epoch_millis"},"failures":{"type":"long"},"flowDetails":{"properties":{"id":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}},"fielddata":true},"result":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"title":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"jobDetails":{"properties":{"id":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}},"fielddata":true},"numberOfFlows":{"type":"long"},"numberOfThreads":{"type":"long"},"sourceBranch":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"startTime":{"type":"date","format":"epoch_millis"},"targetBranch":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"numberOfSuites":{"type":"long"},"passes":{"type":"long"},"pending":{"type":"long"},"result":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"skipped":{"type":"long"},"startTime":{"type":"date","format":"epoch_millis"},"suites":{"properties":{"tests":{"properties":{"code":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"duration":{"type":"long"},"err":{"properties":{"message":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"stacktrace":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"result":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"speed":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"title":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}},"title":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}}}}
'
PUT reflow-tracks
{"settings": {"number_of_replicas": 1,"number_of_shards": 2,"refresh_interval": "30s"},
"mappings":{"request":{"properties":{"duration":{"type":"long"},"endTime":{"type":"date","format":"epoch_millis"},"hash":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"header":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"hostname":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"href":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"method":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"pathname":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"port":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"protocol":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"redirects":{"type":"long"},"redirectsList":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"search":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"searchParams":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"startTime":{"type":"date","format":"epoch_millis"},"statusCode":{"type":"long"},"statusMessage":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"jobID":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}}}}}}

GraphQL

Example Queries and Mutations