New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

about-json

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

about-json

This is an opinionated Markdown to JSON converter. It was designed to turn `about-me` markdown files into JSON.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

code style: prettier All Contributors Code of Conduct about-json downloads about-json version Travis

about-json

This is an opinionated Markdown to JSON converter. It was designed to turn about-me markdown files like this one into a JSON structure for more flexible rendering.

It can read files locally or load them from the web.

Setup

npx about-json -i https://raw.githubusercontent.com/dkundel/about-me/master/README.md --pretty

# OR

npm i -g about-json
about-json -i https://raw.githubusercontent.com/dkundel/about-me/master/README.md --pretty

Usage

Turns a markdown file into a JSON. Opinionated based on the about-me file
format.
Usage: about-json -i <filePathOrUrl>

Options:
  --input, -i   File path or URL to load markdown            [string] [required]
  --output, -o  File path to write output. Will write to stdout otherwise.
                                                                        [string]
  --html        Output inline content (such as links) as HTML rather than
                Markdown                              [boolean] [default: false]
  --pretty      Prints the resulting JSON in an indented way instead of
                condensed                             [boolean] [default: false]
  --fixUrl, -u  If the content is fetched from the web, it will update the
                relative links to absolute URLs        [boolean] [default: true]
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]

Contributing

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributors

Thanks goes to these wonderful people (emoji key):


Dominik Kundel

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT

Keywords

FAQs

Package last updated on 24 Mar 2018

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