headroom-0.1.0.0: License Header Manager
Copyright(c) 2019-2020 Vaclav Svejcar
LicenseBSD-3
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Header.Impl.JS

Description

Support for detecting license header in JavaScript source code files.

Synopsis

Documentation

headerSizeJS :: Text -> Int Source #

Returns size of license header (as number of lines) in given JS source code. The very first comment block is considered as license header, anything after as start of the actual code.