Socket
Socket
Sign inDemoInstall

readme.md

Package Overview
Dependencies
2
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    readme.md

Allow creating a simple JS String from a README.md in order to use it in various package config files (like package.json)


Version published
Weekly downloads
39
increased by875%
Maintainers
1
Install size
67.8 kB
Created
Weekly downloads
 

Readme

Source

readme.md

readme.md is an application that allows easy updating of package.json files with the content from the README.md.

Installation

In order to install it you can run:

$ npm install -g readme.md

Usage

Then in the project that you develop you can run again:

$ readme-md-update

This will update your package.json file, setting the readme contents to the JSON escaped file.

Programmatic Access

In case you want to update a different file, or read a different file, or use a different property, you can also use it directly:

var readme = require("readme.md");

readme.writeFileIntoJson("README.md", "package.json", "readme");

Keywords

FAQs

Last updated on 10 Oct 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc