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

smpl-parse

v0.0.1

Published

Simple Markup Procedure Language

Downloads

7

Readme

SMPL Parse

Parses Simple Markup Procedure Language

Simple Markup Procedure Language

A human friendly syntax designed to be easily read and interpreted by both computers and humans. Built from the principles of YAML and Markdown but extended to support concepts needed to document procedures (steps, timing,and looping). The initial design has no support for conditionals or branching, instead focusing on linear procedures. Examples of procedures include: a workout, simple surgical procedure, or instructions for how to use a computer program. The goal of SMPL to enable non-technical procedure designer to communicate their wisdom about a procedure and allow a computer to automate or assist a performer with reminders and collect performance information.

Simple examples

Workouts

5 rounds for time
  20 Pull-ups
  30 Push-ups
  40 Sit-ups
  50 Squats
As many rounds as possible (AMRAP) in 20 min
  5 Pull-ups
  10 Push-ups
  15 Squats

Computer instructions

Fill out the following fields:
* Last Name: Horner
* Phone: 260-459-6270
Click on the 'Save' button.
Click 'OK'.
Type 'finally' in 'Slow Input'
Click on the 'going away' link.

Surgical

Prep:
  Administer Antibiotics if signs of sepsis are seen; otherwise, a single dose of prophylactic intravenous antibiotics is given immediately before surgery.
  Induce general anaesthesia, with endotracheal intubation and full muscle relaxation
  Positioned patient supine.
  Prepare abdomen and drape
Incision:
  If a mass is present:
    Make incision over the mass;
  otherwise,
    make the incision over [McBurney's point](one-third of the way from the anterior superior iliac spine to the umbilicus)
Open the various layers of the abdominal wall
  Making all efforts to preserve the integrity of abdominal wall.
  Split the external oblique aponeurosis along the line of its fibers,
  Split internal oblique muscle along it's fibers.
  As the two run at right angles to each other, this reduces the risk of later incisional hernia.
On entering the peritoneum:
  identify the appendix
  mobilize the appendix and ligate and divided at its base.
  Consider burying the stump of the appendix by inverting it so it points into the caecum.
Closing:
  For each layer of the abdominal wall, close in turn.
  Close skin with with staples or stitches.
  Dress wound
Send patient to the recovery room.

Note: leading space is critical to understanding scope, so fixed fonts are required to edit script. Tabs shoud be converted to spaces before parsing.