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

a6e

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a6e

For when you need to continuously work on a single markdown file.

  • 0.0.11
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

a6e

For when you need to continuously edit a single markdown file.

Like when, for instance, when you need to write the readme for a6e. Or any readme in general, for that matter.

Or you like to keep track of useful things you learn or find.

To understand (what this is):

This package is designed to do one thing: it watches a single markdown file for changes, and creates a server in which it is possible to view a live HTML preview.

To install:

# locally (good)
npm install a6e

# globally (better)
npm install --global a6e

To run:

# after being installed globally

a6e <your markdown file path>

# for instance, to edit this readme, I issued:

a6e README.md

A web server will be spun up on localhost:18100. This project uses livereload, and it starts the associated server, by default, on localhost:43219;

To edit:

After starting a6e, just edit your file, and the changes will be (almost) instantaneously reflected on the live preview!

To configure:

This project uses rc as a configuration backend, with an associated filename of .a6erc.

The available configuration options at this point are:

  • port: the port to which the server will bind to (default 18100);
  • reloadPort: the port to which the reload server will bind to (default 43219);
  • stylePath: the path of your own index.css file that you may wish to create in order to override the default page style (defaults to the internal styles file);
  • watchedPath: the path of the markdown file you wish to watch (required: will be set by the last command parameter (process.argv[process.argv.length - 1]), if not passed);
  • generatePageContent: a boolean that, if set to true, causes a6e to only output the resulting HTML page to stdout once, and then exit. Useful for generating a page that can be served statically. (default false);

To test:

TODO implement this

FAQs

Package last updated on 08 Aug 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