8.0.0
- 1264a38 Use ESM
Learn more about ESM in this guide
// From CommonJS var remarkToc = require('remark-toc') // To ESM import remarkToc from 'remark-toc'
- 21335f2 Add JSDoc based types
// From CommonJS
var remarkToc = require('remark-toc')
// To ESM
import remarkToc from 'remark-toc'