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

@apeiromont/opshop-sdk

v3.0.3

Published

The frontendless framework for high growth companies. Opshop automatically generates apps by inlining the UI in your backend code. It's a faster and more maintainable way to build internal tools, rapid prototypes, and more.

Downloads

43

Readme

Opshop Node.js SDK

npm version Documentation

Opshop is a maintained fork of the Interval project. While building upon Interval’s foundation, Opshop aims to enhance flexibility and add new features tailored to teams who want more control within their Node.js codebase for building internal tools.

Opshop lets you quickly build internal web apps (think: customer support tools, admin panels, etc.) just by writing backend Node.js code.

This is our Node.js SDK which connects to the opshop.apeiromont.com web app. If you don't have an Opshop account, you can create one here. All core features are free to use.

Why choose Opshop?

"Node code > no-code"

Opshop is an alternative to no-code/low-code UI builders. Modern frontend development is inherently complicated, and teams rightfully want to spend minimal engineering resources on internal dashboards. No-code tools attempt to solve this problem by allowing you to build UIs in a web browser without writing any frontend code.

We don't think this is the right solution. Building UIs for mission-critical tools in your web browser — often by non-technical teammates, outside of your codebase, without versioning or code review — is an anti-pattern. Apps built in this manner are brittle and break in unexpected ways.

With Opshop, all of the code for generating your web UIs lives within your app's codebase. Tools built with Opshop (we call these actions) are just asynchronous functions that run in your backend. Because these are plain old functions, you can access the complete power of your Node app. You can loop, conditionally branch, access shared functions, and so on. When you need to request input or display output, await any of our I/O methods to present a form to the user and your script will pause execution until input is received.

Here's a simple app with a single "Hello, world" action:

import Opshop from '@apeiromont/opshop-sdk'

const opshop = new Opshop({
  apiKey: '<YOUR API KEY>',
  actions: {
    hello_world: async () => {
      const name = await io.input.text('Your name')
      return `Hello, ${name}`
    },
  },
})

opshop.listen()

Opshop:

  • Makes creating full-stack apps as easy as writing CLI scripts.
  • Can scale from a handful of scripts to robust multi-user dashboards.
  • Lets you build faster than no-code, without leaving your codebase & IDE.

With Opshop, you do not need to:

  • Write REST or GraphQL API endpoints to connect internal functionality to no-code tools.
  • Give Opshop write access to your database (or give us any of your credentials, for that matter).
  • Build web UIs with a drag-and-drop interface.

More about Opshop