Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

toctoc

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toctoc - npm Package Compare versions

Comparing version
0.3.1
to
0.3.2
+18
tmp2.md
# email
blabla
## Table of Contents
- [Documentation](#documentation)
- [License](#license)
---
## Documentation
- View [HTML documentation](https://google.com) *(require access)*
## License
MIT
+1
-1

@@ -48,3 +48,3 @@ #!/usr/bin/env node

var toc = generateToc(source, title, maxDepth);
return source.replace(tocPattern, `## ${title}\n\n${toc}\n---`);
return source.replace(tocPattern, `## ${title}\n\n${toc}\n---\n`);
}

@@ -51,0 +51,0 @@

{
"name": "toctoc",
"version": "0.3.1",
"version": "0.3.2",
"description": "Generates and maintain a table of contents of your README.md.",

@@ -5,0 +5,0 @@ "main": "index.js",