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

smisf

v1.0.2

Published

Standard Microwave Instruction String Format

Readme

Standard Microwave Instruction String Format (SMISF)

What?

SMISF is a format for encoding microwave instructions into a string.

Why?

Because I can

Usage

Install smisf:

npm install --save smisf

If you're using CommonJS (default), require smisf:

const smisf = require('smisf');

If you're using ESM, import smisf:

import * as smisf from 'smisf';

API

const creator = new smisf.Creator();
creator.cook(minutes, seconds, powerLevel); // Add a cook instruction // powerLevel can be either: "HI", Or a multiple of 10 from 00 to 90

creator.change('M'); // Apply a single change // A single letter
creator.change(['U', 'F', 'S']); // Apply multiple changes // Each a single letter

creator.value; // Get string

creator.do(); // Get string and clear, ready for another instruction set
const parse = smisf.parse; // Just a shorthand
parse(string); // Parse an instruction string, returns an array of objects, see <Parsed value types> for object types

Parsed value types:

{
  type: 'cook',
  powerLevel: 'HI' | number,
  minutes: number,
  seconds: number,
  fullSeconds: number // (minutes * 60) + seconds
} | {
  type: 'change',
  changes: Array<string>
}

Example

import * as smisf from 'smisf';
import { inspect } from 'util';

const c = new smisf.Creator();
const created = c.cook(1, 0, 'HI').change('F').cook(0, 45, 'HI').do();
const parsed = smisf.parse(created);

console.log(`Created: ${c.cook(1, 0, 'HI').change('F').cook(0, 45, 'HI').do()}`);
console.log(`Parsed: ${inspect(parsed)}`);

Format

Instruction strings should be UTF-8

Syntax

<SMISF=args>
args can be one/several of the following:
  ;POWERLEVEL#MINS:SECONDS
    POWERLEVEL can be either:
      HI
      Or a multiple of 10 from 00 to 90

    MINS is a number

    SECONDS is a two digit number in the seconds range, for example:
      00
      01
      59

  ;@OPERATIONS
    OPERATIONS can be multiple "operations" (see Operations section)

Operation suggestions

These are just suggestions, you can implement your own, or not use these at all

M - Mix
S - Stir
F - Flip
C - Cover
U - Uncover

Examples

<SMISF=;@C;HI#1:35;@UF;30#0:10> - Cover, 1 minute and 35 seconds on HIGH, Uncover, Flip, 10 seconds on 30. <SMISF=;70#25:00> - Twenty-five minutes on 70

GitHub | NPM

If you have a real use for this package, please DM me on Discord at zt#5963 and tell me why, you really shouldn't have any need for this package.