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

slashr

v0.2.21

Published

An insync model/controller node api framework.

Downloads

9

Readme

slashr node insync MC Application Api Framework.

Slashr hates boilerplate. Slashr is faster because everything is immediately accessible from context. Slashr loves abbreviations. Slashr makes you faster.

  • Abv Key:
  • child / chd
  • children / chn
  • parent / prt
  • layout / lyt
  • view / vw
  • controller / ctlr
  • template / tpl
  • action / act
  • entity / ent
  • domain / dm
  • model / mdl
  • container / cntr
  • method / meth
  • form / fm
  • element / elmt
  • widget / wgt
  • button / btn
  • submit / sbm
  • link / lk
  • description / desc
  • error / err
  • control / ctrl
  • success / succ
  • label / lbl
  • name / nm
  • validator / vld
  • validators / vlds
  • request / req
  • redirect / rdr
  • forward / fwd
  • data / dt
  • router / rtr
  • route / rt
  • item / itm
  • items / itms
  • menu / mn
  • submenu / sbmn
  • overlay / ovl
  • backdrop / bkdp
  • filter / fltr
  • binding(s) / bind
  • content / cont
  • target / trg
  • element / e
  • event / evt
  • required / rqd
  • component / cpnt
  • type / tp
  • file / f
  • percent / pct
  • cache / csh
  • header / hdr

// Style If it is an instance of a class (like database, storage, cache), it would be parent.class(instanceName).child. If it is the default instance then parent.class.child

If the class is a factory that returns instantiated children, like database row / col, the same applies as above.

// Database query
this.mdl.db.qry();
// Query a differant instance
this.mdl.db("myInstance").qry();
// Storage create file with instance
this.mdl.stor("myInstance").file();
this.mdl.stor.file();

For base classes like form, file, menu, entities the parent class can be directly instantiated like parent.class(), or the child can be instantiated with parent.class.child()

// Base Form
this.mdl.form();
// Custom form in /model/forms
this.mdl.form.login();

// Get a custom file type class
this.mdl.stor.file.img();
// Create a swimple view model
this.mdl.vw();
// custom view model
this.mdl.vw.login();

// Entity defined in entities.js
this.mdl.ent.users();

// The Domain Model is technically both an instance and a child class, so it is used like forms, but the parent is abstract
// Get the account domain class
this.mdl.dm.account();

// Result types
this.rslt.file("myfile.pdf"); // returns a file located in assets/files/myfile.pdf