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

@mlabs-haskell/uplc-apply-args-nodejs

v1.0.29-alpha2

Published

Implementation of argument application for Cardano Plutus scripts (nodejs & the browser).

Downloads

76

Readme

uplc-apply-args

Implementation of argument application for Cardano Plutus scripts (nodejs & the browser).

This package defines a single "apply_params_to_script_no_panic" function.

Building and publishing

Here's a description on to how publish a newer version to the NPM registry:

  1. Install wasm-pack according to wasm-pack docs.
  2. Set the package.name in Cargo.toml to the correct name (i.e. uplc-apply-args-browser or uplc-apply-args-nodejs. We can't use @mlabs-haskell/ prefix here, because the name must be a valid crate name, but we can update it later in the generated package (step 5)).
  3. Bump the package.version in Cargo.toml. Set it to be equal to the version of the uplc crate.
  4. rm -rf pkg to clean the old bundle artifacts.
  5. Run wasm-pack build --target [bundler|nodejs].
  6. Modify the generated npm package located in ./pkg: Change its name to @mlabs-haskell/uplc-apply-args-[nodejs|browser]
  7. Publish the generated package.
  8. Repeat steps 1-6 for the -nodejs version too.
  9. Update the isomorphic (supporting both nodejs and the browser) package that is located in ./npm-package (change the dependency versions, run npm i, and publish it)