New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@pulsor/cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulsor/cli

Vite-based development environment for building pulsor apps.

latest
npmnpm
Version
0.0.2-rc.6
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

@pulsor/cli

Vite-based development environment to facilitate running and building pulsor apps.

It mostly extends vite, then adds pulsor-specific features.

Huge praise to vite / esbuild for doing the heavy lifting.

For documentation on how to write pulsor apps, checkout the main repo!

Quick start

Install the @pulsor/cli CLI

npm i -g @pulsor/cli

Create a new app and run it:

# Create new app
echo "export default (
  <h1>Hi! 👋</h1>
);" > App.tsx;

# Run it in dev mode
pulsor App.tsx --open;

First line creates a file called "App.tsx" and fills it hello world content. Second line starts the dev server with the "App.tsx" file as the "Root vNode".

Build for prod:

pulsor build App.tsx

Preview prod build:

pulsor serve

Notes on usage:

run

pulsor <app definition entrypoint>
ex:
pulsor App.tsx

The entrypoint resolves like a node module, so you can also do:

// or
pulsor App

// or

pulsor some/path
// which is same as 
pulsor some/path/index

// or

pulsor
// which is same as 
pulsor index

The entrypoint file should export the root vNode of your application.

Creating templates

TODO

Checkout the vite docs for all non pulsor specific information: https://vitejs.dev/

Keywords

pulsor

FAQs

Package last updated on 22 Feb 2022

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