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

lib-cemu

v0.6.2

Published

Lightweight Node.js library for Cemu utils

Downloads

8

Readme

Features

lib-cemu is meant to help create Cemu utilities without having to deal with all the annoying stuff or to include huge wrappers.
I was originally planning to create a frontend with these capacities but decided to create a library instead. I think Cemu is here to stay and that the devs shouldn't have to work on these kind of features or build them into the emulator.
And if it's our job, we should have good tools to do it.

lib-cemu is

  • Lightweight. No useless dependencies, just what you need.
  • Promise based. Every function performing async operations returns a Promise. (Or you can use callbacks (but you shouldn't (learn how to use promises (you'll thank me later.))))
  • Well documented. The docs are generated automatically on every commit, so they are always complete and up-to-date.

Profiles

Create different profiles to easily store and switch between savegames and settings.

  • [ ] Create, edit and delete
  • [ ] Save and load
  • [ ] Upload and download from Google Drive

Cemu Releases

Download, install, update, manage settings and more.

  • [x] Download and install
  • [ ] Update
  • [ ] Manage settings

Games

Manage games and get various information about them.

  • [ ] Import games from meta.xml or settings.xml
  • [ ] Launch games with a selected profile
  • [x] Parse game information from the Cemu wiki
  • [ ] Create custom Steam shortcuts

Misc

  • [ ] Save and load shader caches (Sharing shader caches is piracy. Only use yours and do not share them.)

Suggestions

Have any suggestions or feature requests ? Just open an issue.

Installation

# If you use npm >= 5
$ npm i lib-cemu

# If you use npm < 5
$ npm i -S lib-cemu

# If you use yarn (you should)
$ yarn add lib-cemu

Usage

The library is not ready for production use yet. Check back when 1.0.0 comes out or read the docs.

Contributing

NO CONTRIBUTION RELATED TO PIRACY WILL BE ACCEPTED

Basic

  • Test everything and add test scripts when possible.

Formatting

  • This library uses the JavaScript Standard Style. It is automatically applied when committing and checked when pushing. You can run the lint command to apply it or the lint-test command to check if it is applied.
  • Everything you add should be documented using the JSDoc format and following the style already in use. You can run the docs command to automatically generate the docs. They are also automatically generated when committing.
  • Wrap long lines when possible, this makes everything much more eye-pleasing.

Logic

  • Classes should not be accessible directly but only through functions.
  • Functions containing async operations must return a Promise and accept a callback(error) function as an optional parameter for flexibility. If the function creates something that is not one of the arguments, return it with the promise and pass it to the callback (callback(value, err)).
  • There should be as few dependencies as possible. Keep it small and simple.

Contributors

Raphaël Thériault