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

freelog_policy_compiler

v0.1.28

Published

1. free policy ``` for public : in <initial> : terminate ```

Downloads

98

Readme

SAMPLES

  1. free policy
for public :
  in <initial> :
    terminate
  1. transaction policy
for nodes :
  in initial :
    proceed to <active> on transaction of 100 to feth233dbc32069
  1. license & transaction policy
for nodes :
  in initial :
    proceed to pending on transaction of 100 to feth233dbc32069
  in pending :
    proceed to <active> on accepting license e759419923ea25bf6dff2694391a1e65c21739ce
  1. period transaction policy
for public :
  in initial :
    proceed to <pending> on accepting license e759419923ea25bf6dff2694391a1e65c21739ce
  in <pending> :
    proceed to pendingtwo on end of cycle
  in pendingtwo :
    proceed to <pending> on transaction of 100 to feth233dbc320699

Events


period

Grammar: end of TIME_CYCLE
Sample: proceed to settlement on end of day
{
  type: 'period',
  params: ['cycle'],
  eventName: 'period_day_event'
}

specificDate

Grammar: date DATE
Sample: proceed to settlement on date 2012-12-12
{
  type: 'arrivalDate',
  params: ['1', '2012-12-12'],
  eventName: 'arrivalDate_1_2012-12-12_event'
}

relativeDate

Grammar: INT TIME_UNIT after contract creation
Sample: proceed to settlement on 10 day after contract creation
{
  type: 'arrivalDate',
  params: ['0', '10', 'day'],
  eventName: 'arrivalDate_0_10_day_event'
}

pricingAgreement

Grammar: pricingAgreement
Sample: proceed to settlement on pricingAgreement
{
 type: 'pricingAgreement',
 params: [],
 eventName: 'pricingAgreement_event'
}

transaction

Grammar: transaction of INT to FEATHERACCOUNT
Sample: proceed to settlement on ** transaction of 300 to feth233dbc32069**
{
 type: 'transaction',
 params: ['userId', 300],
 eventName: 'transaction_userid_300_event'
}

signing

Grammar: license LICENSEID
Sample: proceed to settlement on ** accepting license e759419923ea25bf6dff2694391a1e65c21739ce, e7594199435jh3jhasf1ff2694391a1e65c21739ce**
{
 type: 'signing',
 params: ['e759419923ea25bf6dff2694391a1e65c21739ce', 'e7594199435jh3jhasf1ff2694391a1e65c21739ce'],
 eventName: 'signing_l123123_l19992_event'
}

contractGuaranty

Grammar: contract_guaranty of INT refund after INT day
Sample: proceed to settlement on contract_guaranty of 3000 refund after 50 day
{
 type: 'contractGuaranty',
 params: [3000, 50, 'day'],
 eventName: 'contractGuaranty_3000_50_day_event'
}

platformGuaranty

Grammar: platform_guaranty of INT
Sample: proceed to settlement on platform_guaranty of 50000
{
 type: 'platformGuaranty',
 params: [5000],
 eventName: 'platformGuaranty_5000_event'
}

compoundEvent

Grammar: compoundEvents
Sample: proceed to settlement on platform_guaranty of 50000 and contract_guaranty of 3000 refund after 50 day
{
 type: 'compound',
 params: [  {
     type: 'contractGuaranty',
     params: [3000, 50, 'day'],
     eventName: 'contractGuaranty_3000_50_day_event'
   },
   {
     type: 'platformGuaranty',
     params: [5000],
     eventName: 'platformGuaranty_5000_event'
   }],
 eventName: 'compound_event'
}