Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@muil/viewer

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@muil/viewer

Visit [Muil Docs.](https://docs.muil.io)

  • 0.3.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
387
increased by71.24%
Maintainers
2
Weekly downloads
 
Created
Source

Visit Muil Docs.

Automate Installation

Get started using the automatic command line tool. This command installs and adds everything you need to get start with Muil.

Inside your root directory run:

npx -p @muil/cli muil-cli init

Manual Installation

To get start with Muil you will need:

  1. Run this line inside you root directory:
npm install --dev @muil/viewer

or

yarn add --dev @muil/viewer
  1. Add these scripts to package.json:
 "scripts": {
    ...
    "muil": "muil-viewer",
    "muil-cli": "muil-cli"
  },
  1. Add templates folder in your root directory
root directory
├───src
│   ├───components
│   │   ├───Component1.js
│   │   ├───Component2.js
│   │   └───Component3.js
└───templates
    ├───Template1.js
    ├───Template2.js
    └───Template3.js

Usage

To start muil templates viewer run:

yarn muil

or

npm run muil

To use options with npm run npm run muil -- <args>. See here

Viewer Options

Usage: muil [options]

Options:
  -p --port <port>                              Viewer port (default: 8000)
  -d --templatesDirectory <templatesDirectory>  Templates root directory (default: "./templates")
  -h, --help                                    output usage information

FAQs

Package last updated on 09 Sep 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc