{ "_from": "mdast-util-toc@^2.0.1", "_id": "mdast-util-toc@2.1.0", "_inBundle": false, "_integrity": "sha512-ove/QQWSrYOrf9G3xn2MTAjy7PKCtCmm261wpQwecoPAsUtkihkMVczxFqil7VihxgSz4ID9c8bBTsyXR30gQg==", "_location": "/mdast-util-toc", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "mdast-util-toc@^2.0.1", "name": "mdast-util-toc", "escapedName": "mdast-util-toc", "rawSpec": "^2.0.1", "saveSpec": null, "fetchSpec": "^2.0.1" }, "_requiredBy": [ "/gatsby-transformer-remark" ], "_resolved": "https://registry.npmjs.org/mdast-util-toc/-/mdast-util-toc-2.1.0.tgz", "_shasum": "82b6b218577bb0e67b23abf5c3f7ac73a4b5389f", "_spec": "mdast-util-toc@^2.0.1", "_where": "/Users/stefanfejes/Projects/30-seconds-of-python-code/node_modules/gatsby-transformer-remark", "author": { "name": "Titus Wormer", "email": "tituswormer@gmail.com", "url": "http://wooorm.com" }, "bugs": { "url": "https://github.com/barrythepenguin/mdast-util-toc/issues" }, "bundleDependencies": false, "contributors": [ { "name": "Titus Wormer", "email": "tituswormer@gmail.com", "url": "http://wooorm.com" }, { "name": "Jonathan Haines", "email": "jonno.haines@gmail.com", "url": "http://barrythepenguin.github.io" } ], "dependencies": { "github-slugger": "^1.1.1", "mdast-util-to-string": "^1.0.2", "unist-util-visit": "^1.1.0" }, "deprecated": false, "description": "Generate a Table of Contents (TOC) from a given Markdown file", "devDependencies": { "browserify": "^16.2.1", "esmangle": "^1.0.1", "istanbul": "^0.4.4", "remark": "^9.0.0", "remark-attr": "^0.6.2", "remark-cli": "^5.0.0", "remark-comment-config": "^5.0.0", "remark-github": "^7.0.0", "remark-preset-lint-consistent": "^2.0.0", "remark-preset-lint-recommended": "^3.0.0", "remark-usage": "^6.0.0", "remark-validate-links": "^7.0.0", "tape": "^4.6.0", "xo": "^0.21.1" }, "files": [ "lib", "index.js" ], "homepage": "https://github.com/barrythepenguin/mdast-util-toc#readme", "keywords": [ "mdast", "util", "toc" ], "license": "MIT", "main": "index.js", "name": "mdast-util-toc", "repository": { "type": "git", "url": "git+https://github.com/barrythepenguin/mdast-util-toc.git" }, "scripts": { "build": "npm run build-md && npm run build-bundle && npm run build-mangle", "build-bundle": "browserify index.js --no-builtins -s mdastUtilTOC > mdast-util-toc.js", "build-mangle": "esmangle mdast-util-toc.js > mdast-util-toc.min.js", "build-md": "remark . --quiet --frail --output", "lint": "xo", "test": "npm run build && npm run lint && npm run test-coverage", "test-api": "node test/index.js", "test-coverage": "istanbul cover test/index.js" }, "version": "2.1.0", "xo": { "space": 4, "esnext": false, "prettier": true, "ignore": [ "example.js" ], "rules": { "valid-jsdoc": [ "error" ], "require-jsdoc": [ "error", { "require": { "FunctionDeclaration": true, "MethodDefinition": true, "ClassDeclaration": true } } ] } } }