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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@wix/vibe-restaurants-olo-plugin

v0.3.0

Published

The raw requirements for creating a plugin: - *public* npm package that exposes / exports this interface: https://github.com/wix-private/picasso/blob/master/packages/picasso-plugins/src/pluginModule.ts#L16 - it should be configured in the apropriate field

Readme

The raw requirements for creating a plugin:

  • public npm package that exposes / exports this interface: https://github.com/wix-private/picasso/blob/master/packages/picasso-plugins/src/pluginModule.ts#L16
  • it should be configured in the apropriate field under the app extension in dev-center
export interface PluginModule<TResult = unknown> {
  /**
   * Provision the plugin and copy all of the plugin's additional files.
   * @param env - All the parameters needed to provision the plugin.
   * @returns - A promise that resolves when the plugin is installed and all of the plugin's additional files were copied.
   */
  install?: (env: PluginEnv) => Promise<TResult>;
  /**
   * Generate the initial data for the plugin.
   * @param env - All the parameters needed to generate the data.
   * @returns - A promise that resolves when the data is ready.
   */
  generateData?: (env: PluginEnv) => Promise<void>;
  /**
   * Generate dynamic instructions based on the result of the plugin's install function and the static instructions of the plugin in dev center.
   *
   * If this function is not provided, the static instructions will be used.
   *
   * @param params - The result of the plugin's install function and the plugin's static instructions.
   * @returns - A promise that resolves with the updated instructions.
   */
  getInstructions?: (params: {
    result: TResult;
    originalInstructions: string | undefined;
  }) => Promise<string>;
}

In Detals:

  • the install() fn runs in real-time as part of wix vibe flow on the wix vibe dev-machine, and should probably do the following: a. install (provision) the app on the site b. copy the relevant components / ui compoenents / pages etc.. over to the wix vibe project

Files:

Although the underlying mechanism does not require it, we ask that the files that are copied over to the wix vibe project would come from a separate package that compresses them as a zip file and exposes it through the package (as done in this repo example) - see here this example package: https://github.com/wix-private/vibe-plugins/tree/master/plugins/example-vertical/vibe-restaurants-olo-plugin-files

  • generateData(env) fn should generate "mock data" on the site according to the user prompt

How generateData should basically work:

  • use env.providers to generate json payloads relevant to the user prompt (which is supplied in env.userRequest).
  • Make api calls to create the relevant entities. Make api calls with your vertical SDK package or REST apis, you have the WIX_TOKEN variable in the env object example:

For example:

https://github.com/wix-private/vibe-plugins/blob/master/plugins/stores/vibe-stores-plugin/src/index.ts#L23

https://github.com/wix-private/vibe-plugins/blob/master/plugins/stores/vibe-stores-plugin/src/utils.ts#L99

https://github.com/wix-private/vibe-plugins/blob/master/plugins/stores/vibe-stores-plugin/src/utils.ts#L150-L176

Use generateImage fn supplied to you under env to generate relevant images

  • getInstructions() should return a string for the llm instructions for how to integrate the components to the wix vibe basic app template

for all the above, see implementaiton example in Wix Stores plugin in this repo.