Socket
Socket
Sign inDemoInstall

@pepperi-addons/create-addon-api

Package Overview
Dependencies
133
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pepperi-addons/create-addon-api

a script that downloads the sample repo and installs locally


Version published
Maintainers
1
Created

Readme

Source

This is a skeleton project for creating javascript addon api's it provides two major things:

  1. use many files in JS or typescript and then using rollup to create one javascript file in pepperi addon api standard
  2. debug and run this api on your localhost (e.g. http://localhost:3002/api/foo on postman)

First thing first run npm install to install dependencies

To debug locally click Run -> Debug.

To export a js file to upload to your addon run: npm run build The output file should be in dist/api.js.

To add your code check my service files (typescript or javascript)

FAQs

Last updated on 06 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc