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

typepress-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typepress-cli

Markdown ebook template, converter and generator

latest
Source
npmnpm
Version
0.2.6
Version published
Maintainers
1
Created
Source

Markdown book template

Prerequisites

  • git
  • nodejs
  • pandoc
  • kindlegen
  • epubcheck
  • epubcheck-shell
  • latex

Note that epubcheck requires the jre and the shell script wrapper epubcheck-shell requires bash.

Installation

You can install globally using npm:

npm install -g typepress-cli

Quick Start

Provided you have all the prerequisite software installed correctly you can run:

git clone https://github.com/freeformsystems/typepress-cli.git
cd typepress-cli && npm install && ./bin/tp build

All generated files are placed in the build directory.

Test

Run the tests with npm test.

Preview

To preview the generated ebooks you can use calibre.

You can preview .mobi files using calibre; OSX users may prefer to use kindleformac. If you use kindleformac then drag the .mobi file onto the application icon in the dock to preview the generated book as the application does not easily allow previewing of .mobi files not downloaded from the amazon store.

Credits

This work is derived from pandoc-ebook-template, credit to evangoer.

License

Everything is MIT. Read the license if you feel inclined.

Keywords

cli

FAQs

Package last updated on 26 Jan 2014

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