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

markdown-extensions

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-extensions - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

index.d.ts

16

index.js

@@ -1,2 +0,14 @@

'use strict';
module.exports = require('./markdown-extensions.json');
// TODO: Load the JSON file when Node.js supports that.
const markdownExtension = [
'md',
'markdown',
'mdown',
'mkdn',
'mkd',
'mdwn',
'mkdown',
'ron',
];
export default markdownExtension;

76

package.json
{
"name": "markdown-extensions",
"version": "1.1.1",
"description": "List of Markdown file extensions",
"license": "MIT",
"repository": "sindresorhus/markdown-extensions",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "ava"
},
"files": [
"index.js",
"markdown-extensions.json"
],
"keywords": [
"markdown",
"md",
"ext",
"extensions",
"extension",
"file",
"json",
"list",
"array"
],
"devDependencies": {
"ava": "*"
}
"name": "markdown-extensions",
"version": "2.0.0",
"description": "List of Markdown file extensions",
"license": "MIT",
"repository": "sindresorhus/markdown-extensions",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"engines": {
"node": ">=16"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts",
"markdown-extensions.json"
],
"keywords": [
"markdown",
"md",
"extensions",
"extension",
"file",
"json",
"list",
"array"
],
"devDependencies": {
"ava": "^5.3.1",
"tsd": "^0.28.1",
"xo": "^0.55.0"
}
}

@@ -1,27 +0,20 @@

# markdown-extensions [![Build Status](https://travis-ci.org/sindresorhus/markdown-extensions.svg?branch=master)](https://travis-ci.org/sindresorhus/markdown-extensions)
# markdown-extensions
> List of Markdown file extensions
The list is just a [JSON file](markdown-extensions.json) and can be used wherever.
The list is just a [JSON file](markdown-extensions.json) and can be used anywhere.
## Install
```sh
npm install markdown-extensions
```
$ npm install --save markdown-extensions
```
## Usage
```js
var markdownExtensions = require('markdown-extensions');
import markdownExtensions from 'markdown-extensions';
console.log(markdownExtensions);
//=> ['md', ...]
//=> ['md', …]
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)

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