Socket
Socket
Sign inDemoInstall

remark

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark - npm Package Compare versions

Comparing version 0.1.0 to 3.0.0

bin/remark

36

index.js

@@ -0,10 +1,34 @@

/**
* @author Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT
* @module remark
* @version 3.0.0
* @fileoverview Markdown processor powered by plugins.
*/
'use strict';
var React = require('react');
var Remark = require('./component');
/* eslint-env commonjs */
function renderComponent(element){
return React.renderComponent(Remark(), element);
}
/*
* Dependencies.
*/
module.exports = renderComponent;
var unified = require('unified');
var Parser = require('./lib/parse.js');
var Compiler = require('./lib/stringify.js');
var escape = require('./lib/escape.json');
/*
* Exports.
*/
module.exports = unified({
'name': 'mdast',
'Parser': Parser,
'Compiler': Compiler,
'data': {
'escape': escape
}
});

137

package.json
{
"name": "remark",
"version": "0.1.0",
"description": "Forward-looking Markdown editor built in React",
"main": "index.js",
"scripts": {
"build": "browserify -s Remark -t brfs index.js > dist/remark.js",
"component": "browserify -x react -s Remark -t brfs component.js > dist/component.js",
"minify": "uglifyjs dist/remark.js > dist/remark.min.js && uglifyjs dist/component.js > dist/component.min.js",
"test": "mocha"
"version": "3.0.0",
"description": "Markdown processor powered by plugins",
"license": "MIT",
"keywords": [
"markdown",
"markup",
"abstract",
"syntax",
"tree",
"json",
"ast",
"parse",
"stringify",
"bin",
"cli"
],
"dependencies": {
"camelcase": "^2.0.0",
"ccount": "^1.0.0",
"chalk": "^1.0.0",
"chokidar": "^1.0.5",
"collapse-white-space": "^1.0.0",
"commander": "^2.0.0",
"concat-stream": "^1.0.0",
"debug": "^2.0.0",
"elegant-spinner": "^1.0.0",
"extend.js": "0.0.2",
"glob": "^6.0.1",
"globby": "^4.0.0",
"he": "^0.5.0",
"log-update": "^1.0.1",
"longest-streak": "^1.0.0",
"markdown-table": "^0.4.0",
"minimatch": "^3.0.0",
"npm-prefix": "^1.0.1",
"parse-entities": "^1.0.0",
"repeat-string": "^1.5.0",
"stringify-entities": "^1.0.0",
"text-table": "^0.2.0",
"to-vfile": "^1.0.0",
"trim": "^0.0.1",
"trim-trailing-lines": "^1.0.0",
"unified": "^2.0.0",
"user-home": "^2.0.0",
"vfile": "^1.1.0",
"vfile-find-down": "^1.0.0",
"vfile-find-up": "^1.0.0",
"vfile-reporter": "^1.5.0",
"ware": "^1.3.0"
},
"repository": {
"type": "git",
"url": "https://github.com/iceddev/remark"
"url": "https://github.com/wooorm/remark.git"
},
"keywords": [
"react",
"component",
"markdown",
"editor",
"blog",
"post"
"author": "Titus Wormer <tituswormer@gmail.com>",
"contributors": [
"Christopher Jeffrey"
],
"author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/iceddev/remark/issues"
"bin": {
"remark": "bin/remark"
},
"homepage": "https://github.com/iceddev/remark",
"dependencies": {
"envify": "^1.2.1",
"fluxxor": "^1.2.0",
"insert-css": "^0.1.1",
"lodash": "git+ssh://git@github.com:lodash/lodash#79829aec234e9a5deb04616dd228f710ac2b08f7",
"marked": "^0.3.2",
"react": "^0.10.0"
"directories": {
"man": "./man"
},
"files": [
"index.js",
"lib",
"man",
"bin"
],
"devDependencies": {
"brfs": "^1.1.1",
"browserify": "^4.1.8",
"chai": "^1.9.1",
"mocha": "^1.20.1",
"uglify-js": "^2.4.13",
"watchify": "^0.10.2"
"bail": "^1.0.0",
"browserify": "^12.0.0",
"clone": "^1.0.1",
"escodegen": "^1.7.0",
"eslint": "^1.1.0",
"esmangle": "^1.0.0",
"esprima": "^2.6.0",
"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"remark-comment-config": "^2.0.0",
"remark-github": "^2.0.0",
"remark-html": "^2.0.0",
"remark-lint": "^2.0.0",
"remark-man": "^2.0.0",
"remark-toc": "^2.0.0",
"remark-usage": "^2.0.0",
"remark-validate-links": "^2.0.0",
"remark-yaml-config": "^2.0.0",
"mocha": "^2.0.0"
},
"browserify": {
"transform": [
"brfs"
]
"scripts": {
"build-man": "bin/remark doc/*.?.md --config-path .remarkrc-man --quiet",
"build-md": "bin/remark . --quiet --frail",
"build-version": "node script/build-version.js",
"build-options": "node script/build-options.js",
"build-bundle": "node script/build-bundle.js",
"lint-api": "eslint .",
"lint-style": "jscs --reporter inline .",
"lint": "npm run lint-api && npm run lint-style",
"build": "npm run build-version && npm run build-md && npm run build-options && npm run build-man && npm run build-bundle",
"test-api": "mocha --check-leaks test/index.js",
"test-api-extensive": "TEST_EXTENDED=true npm run test-api",
"test-cli": "bash test/cli.sh",
"test-coverage": "istanbul cover _mocha -- -- test/index.js",
"test-travis": "npm run build-md && npm run build-bundle && npm run lint && npm run test-coverage && npm run test-cli",
"test": "npm run build && npm run lint && npm run test-coverage && npm run test-cli"
}
}

Sorry, the diff of this file is not supported yet

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