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

moewe

v0.2.5

Published

<img src="./assets/moewe_logo.png" width="150px">

Downloads

283

Readme

mœwe | typescript client

moewe (german for seagull 🐣) is a open source, privacy preserving crash logging and config platform that can be self-hosted.

motivation

During foss development, I always wished there was a simple platform for crash reporting and knowing roughly how many people are using the software. mœwe aims to be exactly this without the privacy concerns of the large analytics solutions. I hope this is useful to you.

yours, Robin

find more information at moewe.app

features

  • crash logging
  • event logging
  • user feedback collection
  • live config via feature flags
  • includes simple UI components for simple integration
    • compatible with React, Angular, Vue, Svelte and more
  • let users know about new app versions

usage

initialize the client within your Flutter applications main.dart

// setup Moewe
await new moewe.Moewe({
  host: "open.moewe.app",
  project: "projectId",
  app: "appId",
}).init();

render(...)

That's it 🎉

you can now use the moewe() client within your app:

moewe().events.appOpen({});
moewe().log.debug("this is a debug message");
moewe().crash("an error occurred", null);

// report user feedback
moewe().ui.showFeedbackDialog(); // using package UI
moewe().feedback(...) // manually

// get flag value from server
moewe().config.flagString("fav_food");

feature flags

mœwe allows your client to access variables defined on the server. This makes it possible to:

  • let users know whether a new version of your application is available for them
  • toggle specific (maybe experimental) features on and off
  • do A/B testing

you can access these flags with the following function. Make sure to await the moewe init() call before using feature flags. Otherwise all flags are null

moewe().config.flagString("abc");
moewe().config.flagInt("def");
moewe().config.flagBool("ghi");

crash logging

You can log crashes using the moewe.crash(...) function. You can also use this for wrapping your application