📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

faxx

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

faxx

📠 from repo/📃 ✨ wherever/📃

0.6.1
latest
npm
Version published
Weekly downloads
14
27.27%
Maintainers
5
Weekly downloads
 
Created
Source

Faxx

It's fun keeping docs and the code to which it refers together, but docs need to get out and about to be useful! Faxx teleports docs from a GitHub repository to wherever you heart desires.

Development

Faxx is compiled with Babel, src => dist.

  • $ npm run build

Will watch and rebuild by default.

Usage

Install it everywhere

  • $ npm i -g faxx

Make faxx part of your build process.

  • $ npm i --save-dev faxx

Teleportation

  • $ faxx -r manifold/torus -o app/docs

Keep an eye on a local docs directory

  • $ faxx -l ../manifold/torus -o app.docs

See --help for additional options.

Import indexed documentation

Once the documentation is where you needed it, just import it.

import docs from './docs '

This assumes you're using babel-raw in tandem with some sort of md => ? transpiler.

Structure

├── src
│   ├── catalog.js          # Index documentation
│   ├── download.js         # Download tars from GitHub
│   ├── github.js           # Fetch GitHub releases
│   ├── index.js            # Glue everything together
│   ├── local.js            # Local watch and build
│   ├── options.js          # Options
│   ├── output.js           # Output to fs
│   └── spinners.js         # Spinners (even sometimes work)
├── dist                    # Compiled files
├── docs
└── bin

Roadmap

  • Much needed refactor
  • Better (any) error messages
  • Serve fetched documentation
  • Examples, and better documentation

License

AGPL-3.0—see the tl;dr.

FAQs

Package last updated on 14 Nov 2017

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