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 🙏

© 2026 – Pkg Stats / Ryan Hefner

rampkit-expo-dev

v0.0.107

Published

The Expo SDK for RampKit. Build, test, and personalize app onboardings with instant updates.

Readme


What is RampKit?

RampKit lets you create, edit, and deploy onboarding flows from the web. No new releases. No code changes. You design your onboarding in the RampKit dashboard and the Expo SDK handles the rest.


Features

  • Visual web builder
  • A/B testing
  • Personalized onboardings
  • Instant updates
  • Analytics and insights

Installation

npx expo install rampkit-expo-dev

Setup

import { RampKit } from "rampkit-expo-dev";

await RampKit.configure({
  appId: "YOUR_APP_ID",
  environment: "production", // optional
  autoShowOnboarding: false, // optional
  appUserID: "your-user-123", // optional - your own user ID for analytics linking
  onOnboardingFinished: (payload) => {
    // optional callback fired when the flow finishes
  },
});

Show an onboarding:

RampKit.showOnboarding();

Configuration Options

await RampKit.configure({
  appId: "YOUR_APP_ID",
  environment: "staging", // optional
  autoShowOnboarding: true, // optional (auto-present after configure if data is available)
  appUserID: "user-123", // optional - link with your own user database
  onOnboardingFinished: (payload) => {
    // optional
  },
});

// Access the generated stable user id (stored securely)
const idFromInit = RampKit.getUserId(); // string | null (available after configure)

// Or fetch/generate it directly (always returns a string)
import { getRampKitUserId } from "rampkit-expo-dev";
const userId = await getRampKitUserId();

// Get stored onboarding responses
const responses = await RampKit.getOnboardingResponses();

Custom App User ID

You can associate your own user identifier with RampKit analytics. This is useful for linking RampKit data with your own user database.

Important: This is an alias only - RampKit still generates and uses its own internal user ID (appUserId) for tracking. Your custom appUserID is stored alongside it for your reference.

Set at Configuration

await RampKit.configure({
  appId: "YOUR_APP_ID",
  appUserID: "your-user-123", // Set during configuration
});

Set After Configuration

// Set or update the app user ID at any time
await RampKit.setAppUserID("your-user-123");

// Get the current app user ID
const customId = RampKit.getAppUserID(); // string | null

Accessing Onboarding Responses

RampKit automatically stores user responses when questions are answered during onboarding. You can retrieve these responses at any time:

const responses = await RampKit.getOnboardingResponses();

for (const response of responses) {
  console.log("Question:", response.questionId);
  console.log("Answer:", response.answer);
  console.log("Answered at:", response.answeredAt);
}

Each OnboardingResponse contains:

| Property | Type | Description | |----------|------|-------------| | questionId | string | Unique identifier for the question | | answer | any | The user's answer (any JSON-serializable value) | | questionText | string? | Optional question text shown to user | | screenName | string? | Screen where question was answered | | answeredAt | string | ISO 8601 timestamp |

Responses are automatically cleared when reset() is called.

More examples are in the docs:
https://rampkit.com/docs


Example

import { useEffect } from "react";
import { RampKit } from "rampkit-expo-dev";
import { Button } from "react-native";

export default function App() {
  useEffect(() => {
    // Configure once in your app
    RampKit.configure({ appId: "YOUR_APP_ID" });
  }, []);

  return (
    <Button title="Show Onboarding" onPress={() => RampKit.showOnboarding()} />
  );
}

Links

  • Website: https://rampkit.com
  • Docs: https://rampkit.com/docs
  • GitHub: https://github.com/getrampkit/rampkit-expo
  • Issues: https://github.com/getrampkit/rampkit-expo/issues

License

MIT