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 ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

@rkfl/transact-client

v1.1.6

Published

## ๐Ÿ”ง Initialization

Readme

๐Ÿš€ RocketFuel SDK Integration Guide

๐Ÿ”ง Initialization

To initialize the SDK, create a new instance of RkflPlugin with your configuration.

installation

Inport CDN

or install via npm

import { RkflPlugin } from '@rkfl/transact-client';

๐Ÿš€ Usage

<!-- Container for SDK buttons -->
<div id="sdk-buttons-container"></div>

<script>
    const ageplugin = { feature: "AGE_VERIFICATION", containerId: "verification-container" };
    const payPlugin = { feature: "PAYIN", containerId: "payNow" };
    const sdkConfig = {
      plugins: [ageplugin, payPlugin],
      environment: 'sandbox', // @default - 'production'
      clientId: '<Your-client-Id>',
      redirect: (localRedirectStored === 'true') // default false if not set
    };
    
    const sdk = new window.RkflPlugin(sdkConfig);
    sdk.init() // async process returns true or false
  // for more follow the documentation below

</script>

Documentation

Click here for more detailed Documentation

๐Ÿš€ Supported Button Types

| Feature Key | Description | |--------------------|-----------------------------| | payin | Shows the "Pay Now" button | | age_verification | Shows the "Verify Age" button|


๐Ÿ› ๏ธ Development

If you are building the SDK locally:

npm install
npm run build

The bundled file will be available at:

./dist/sdk.min.js

๐Ÿ“ฆ NPM Commands Documentation

1. npm:login

Logs you into your npm account from the terminal. Youโ€™ll be prompted for your npm username, password, and email.

npm run npm:login

Use this before your first publish or if youโ€™re logged out.

2. npm:publish

Publishes the current package to npm with public access. The package name and version must be unique on npm.

npm run npm:publish

3. npm:patch

Increments the patch version (last digit) in package.json by +1. Used for bug fixes or small improvements.

npm run npm:patch

Example Version Change:

1.0.9   โ†’ 1.0.10
1.0.10  โ†’ 1.0.11

4. npm:minor

Increments the minor version (middle digit) by +1 and resets patch to 0. Used for adding new features without breaking compatibility.

npm run npm:minor

Example Version Change:

1.0.5   โ†’ 1.1.0
1.2.7   โ†’ 1.3.0

5. npm:major

Increments the major version (first digit) by +1 and resets minor and patch to 0. Used for breaking changes or major redesigns.

npm run npm:major

Example Version Change:

1.4.8   โ†’ 2.0.0
2.1.3   โ†’ 3.0.0

๐Ÿš€ Recommended Workflow

Login once:

npm run npm:login

Make changes to your code.

Bump version:

npm run npm:patch

Minor:

npm run npm:minor

Major:

npm run npm:major

Publish:

npm run npm:publish

๐Ÿ“„ License

MIT License ยฉ RocketFuel Blockchain, Inc.