Socket
Book a DemoInstallSign in
Socket

@pepperi-addons/create-addon-api

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

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

latest
Source
npmnpm
Version
0.0.11
Version published
Maintainers
1
Created
Source

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

  • use many files in JS or typescript and then using rollup to create one javascript file in pepperi addon api standard
  • 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

Package last updated on 06 May 2020

Did you know?

Socket

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