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

uns-simulator

v1.3.2

Published

UNS.network simulation tool

Downloads

5

Readme

UNS Simulator

UNS.network simulation tool.

oclif LICENSE Version Downloads/week

Description

Project resulting from the collaboration between Space Elephant and Polytech Nantes within the context of a transversal project.

This project concerns the modelling of the UNS blockchain with the aim of predicting the state of the blockchain in function of given parameters. The aim is to be able to model what would happen if we changed the parameters of the blockchain and thus prevent various problems and detect potential side effects.

Requirements

To run the software, you need 3 configuration files described in these files:

Usage

$ npm install -g uns-simulator
$ uns-simulator COMMAND
running command...
$ uns-simulator (-v|--version|version)
uns-simulator/1.3.2 linux-x64 node-v16.1.0
$ uns-simulator --help [COMMAND]
USAGE
  $ uns-simulator COMMAND
...

Commands

uns-simulator autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ uns-simulator autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ uns-simulator autocomplete
  $ uns-simulator autocomplete bash
  $ uns-simulator autocomplete zsh
  $ uns-simulator autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

uns-simulator execute

Execute a scenario

USAGE
  $ uns-simulator execute

OPTIONS
  -f, --format=log|json|csv                                                 [default: log] Choose the output format
  -h, --help                                                                show CLI help
  -m, --modules=coinRepartition|delegatesStats|nodeStats|transactionsStats  Choose the modules to import
  -n, --network=network                                                     (required) The network file path
  -r, --realtime                                                            Use realtime network data
  -s, --scenario=scenario                                                   (required) The scenario file path
  -t, --milestones=milestones                                               The milestones file path
  --all-modules                                                             Import all modules

EXAMPLES
  $ uns-simulator execute -s myFirstScenario.json -n networkData.json -t milestones.json --all-modules -f json
  $ uns-simulator execute --scenario myFirstScenario.json --network networkData.json --realtime --all-modules
  $ uns-simulator execute --scenario myFirstScenario.json --network realtimeNetworkData.json networkData.json 
  --all-modules

See code: dist/commands/execute.ts

uns-simulator help [COMMAND]

display help for uns-simulator

USAGE
  $ uns-simulator help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Contributors

Students :

  • Maxence Dominici
  • Étienne Lécrivain

Company contact :

  • Guillaume Nicolas

School contact :

  • Marc Gelgon

License

MIT © Space Elephant SAS