Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jstransformer-marked

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-marked - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

HISTORY.md

1

index.js

@@ -7,4 +7,5 @@ 'use strict';

exports.outputFormat = 'html';
exports.inputFormats = ['marked', 'markdown', 'md'];
exports.render = function (str, options) {
return marked(str, options);
};

22

package.json
{
"name": "jstransformer-marked",
"version": "0.0.1",
"description": "Transform markdown into HTML using marked",
"version": "0.0.2",
"description": "Marked support for JSTransformers.",
"keywords": [

@@ -9,6 +9,13 @@ "jstransformer"

"dependencies": {
"marked": "^0.3.2"
"marked": "^0.3.3"
},
"files": [
"index.js"
],
"devDependencies": {
"test-jstransformer": "^1.0.0"
},
"scripts": {
"test": "node test"
"test": "test-jstransformer",
"coverage": "test-jstransformer coverage"
},

@@ -19,4 +26,7 @@ "repository": {

},
"author": "ForbesLindesay",
"author": {
"name": "JSTransformers Team",
"url": "http://github.com/orgs/jstransformers/people"
},
"license": "MIT"
}
}
# jstransformer-marked
Transform markdown into HTML using marked
[Marked](http://npm.im/marked) support for [JSTransformers](http://github.com/jstransformers).
[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-marked/master.svg)](https://travis-ci.org/jstransformers/jstransformer-marked)
[![Dependency Status](https://img.shields.io/gemnasium/jstransformers/jstransformer-marked.svg)](https://gemnasium.com/jstransformers/jstransformer-marked)
[![Coverage Status](https://img.shields.io/coveralls/jstransformers/jstransformer-marked/master.svg)](https://coveralls.io/r/jstransformers/jstransformer-marked?branch=master)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-marked/master.svg)](http://david-dm.org/jstransformers/jstransformer-marked)
[![NPM version](https://img.shields.io/npm/v/jstransformer-marked.svg)](https://www.npmjs.org/package/jstransformer-marked)

@@ -13,4 +14,13 @@

## API
```js
var marked = require('jstransformer')(require('jstransformer-marked'))
foo.render('# Hello World!').body
//=> '<h1>Hello World!</h1>'
```
## License
MIT
MIT
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