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

@voyage-sdk/core

v0.1.4

Published

Voyage Feedback Widget SDK - Collect user feedback with ease

Downloads

482

Readme

@voyage-sdk/core

Feedback widget SDK for collecting user feedback. Help your users send feedback directly to the maker.

Installation

npm install @voyage-sdk/core

Or via CDN:

<script src="https://unpkg.com/@voyage-sdk/core"></script>

Note: Styles are automatically injected. No CSS import required.

Quick Start

HTML / Vanilla JS

<script src="https://unpkg.com/@voyage-sdk/core"></script>
<script>
  Voyage.init({
    sdkKey: 'your-sdk-key-here'
  })
</script>

React / Next.js

import { useEffect } from 'react'
import Voyage from '@voyage-sdk/core'

function App() {
  useEffect(() => {
    Voyage.init({
      sdkKey: 'your-sdk-key-here'
    })
  }, [])

  return <div>...</div>
}

Vue.js

<script setup>
import { onMounted } from 'vue'
import Voyage from '@voyage-sdk/core'

onMounted(() => {
  Voyage.init({
    sdkKey: 'your-sdk-key-here'
  })
})
</script>

Svelte

<script>
  import { onMount } from 'svelte'
  import Voyage from '@voyage-sdk/core'

  onMount(() => {
    Voyage.init({
      sdkKey: 'your-sdk-key-here'
    })
  })
</script>

Configuration

Voyage.init({
  // Required: Your SDK key from the dashboard
  sdkKey: 'your-sdk-key-here',

  // Optional: Control where the widget appears
  include: ['/dashboard/*', '/app/*'], // Only show on these paths
  exclude: ['/admin/*', '/login']       // Hide on these paths
})

Note: Theme settings (color, position, labels) are configured from the dashboard.

API

Voyage.init(config)

Initialize the SDK with your configuration.

Voyage.show()

Show the feedback widget button.

Voyage.hide()

Hide the feedback widget button.

Voyage.open()

Open the feedback modal.

Voyage.close()

Close the feedback modal.

Voyage.isOpen()

Returns true if the modal is currently open.

Voyage.isVisible()

Returns true if the widget button is visible.

Voyage.destroy()

Remove the widget from the page and clean up.

Voyage.refreshConfig()

Fetch the latest widget configuration from the server.

Path Matching

Use include and exclude to control where the widget appears:

Voyage.init({
  sdkKey: 'your-sdk-key',

  // Widget only appears on paths starting with /app/
  include: ['/app/*'],

  // Or exclude specific paths
  exclude: ['/admin/*', '/checkout']
})
  • include takes priority over exclude
  • Use /* for wildcard matching (e.g., /admin/* matches /admin/users)
  • Exact paths match exactly (e.g., /login only matches /login)

Get Your SDK Key

  1. Sign up at morphPRD.io
  2. Create a new project
  3. Copy your SDK key from the project settings

License

MIT