Socket
Socket
Sign inDemoInstall

sveltedoc-parser

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sveltedoc-parser

Generate a JSON documentation for a Svelte file


Version published
Weekly downloads
86K
decreased by-1.77%
Maintainers
1
Weekly downloads
 
Created
Source

The sveltedoc parser

Key Features

  • JSDoc support
  • Extract the component description from JSDoc
  • Extract used components list (with short or reference notations)
  • Extract data properties
  • Extract computed properties with dependencies
  • Extract events that fired by this component
  • Extract events that propogated from child component
  • Extract custom implemented events
  • Extract list of used default and named slots
  • Extract component methods
  • Extract component helpers
  • Extract component actions
  • Extract used refs in template nodes

Configuration

json PathDescriptionDefault value
filenameThe filename to parse. Required, unless fileContent is passed.
fileContentThe file content to parse. Required, unless filename is passed.
encodingThe file encoding.'utf8'
featuresThe component features to parse and extracting.By default used all supported features.
ignoredVisibilitiesThe list of ignored visibilities.['private', 'protected']

Issues

All list of known issues presented at this page. Found a new issues? Please contribute and write detailed description here.

Contributors

Author Alexey Mulyukin

Based on vuedoc-parse

Keywords

FAQs

Package last updated on 30 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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