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

@hashmark/cli

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashmark/cli

CLI for Hashmark documents

latest
npmnpm
Version
0.0.2
Version published
Maintainers
2
Created
Source

Hashmark CLI

Installation

sudo npm install -g @hashmark/cli

Usage

Once installed, the CLI is available through the hm command. Currently, the only available command is hm convert, which parses a hashmark document:

$ hm convert --help
hm convert [options] <file>

Convert Hashmark files

Positionals:
  file  Path to a Hashmark file                              [string] [required]

Options:
  --version, -v  Show version number                                   [boolean]
  --help, -h     Show help                                             [boolean]
  --format, -f
   [string] [choices: "auto", "json", "xml"] [default: "auto": infers the format
                                       from the output file. Defaults to "json"]
  --output, -o   Write output to a file                                 [string]

Development

Clone the repository, and install dependencies with:

npm install

To build the project, run:

npm run build

To run the build, you can link the built files to your PATH by running:

sudo npm link

This will make the built files available under the hm command. You can run npm run build to re-build, and hm will now run your latest build. To unlink the hm command from the built file, run:

sudo npm unlink

Keywords

Hashmark

FAQs

Package last updated on 03 Jul 2019

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