Versions in this module Expand all Collapse all v0 v0.4.0 Jul 12, 2026 Changes in this version + type FrameworkDetector struct + func NewFrameworkDetector() *FrameworkDetector + func (d *FrameworkDetector) Confidence() float64 + func (d *FrameworkDetector) DetectFromHTML(html string) types.Framework + func (d *FrameworkDetector) DetectFromPage(_ context.Context, execJS func(string) (string, error)) (types.Framework, error) + func (d *FrameworkDetector) Framework() types.Framework + func (d *FrameworkDetector) Signals() []string + type Mapper struct + func NewMapper(sourceMapDir string, opts ...MapperOption) (*Mapper, error) + func (m *Mapper) Framework() types.Framework + func (m *Mapper) MapElement(_ context.Context, selector string, html string) (*types.SourceLocation, error) + func (m *Mapper) SetFramework(fw types.Framework) + func (m *Mapper) SourceFiles() []string + type MapperOption func(*Mapper) + func WithBaseURL(url string) MapperOption + type Segment struct + GeneratedColumn int + HasName bool + NameIndex int + SourceColumn int + SourceIndex int + SourceLine int + type SourceMap struct + File string + Mappings string + Names []string + SourceRoot string + Sources []string + SourcesContent []string + Version int