1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
Source: golang-github-aymerick-douceur
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Uploaders: Federico Grau <donfede@casagrau.org>,
Anthony Fok <foka@debian.org>
Section: golang
Testsuite: autopkgtest-pkg-go
Priority: optional
Build-Depends: debhelper-compat (= 13),
dh-golang,
golang-any,
golang-github-gorilla-css-dev,
golang-github-puerkitobio-goquery-dev,
golang-golang-x-net-dev
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-aymerick-douceur
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-aymerick-douceur.git
Homepage: https://github.com/aymerick/douceur
Rules-Requires-Root: no
XS-Go-Import-Path: github.com/aymerick/douceur
Package: golang-github-aymerick-douceur-dev
Architecture: all
Multi-Arch: foreign
Depends: golang-github-gorilla-css-dev,
golang-github-puerkitobio-goquery-dev,
golang-golang-x-net-dev,
${misc:Depends}
Description: simple CSS parser and inliner in Go (library)
Golang library with simple CSS parser and HTML inliner.
See associated "douceur" binary for a basic command-line executable of this
library.
.
Parser is vaguely inspired by CSS Syntax Module Level 3
(https://www.w3.org/TR/css-syntax-3/) and corresponding JS parser
(https://github.com/tabatkins/parse-css).
.
Inliner only parses CSS defined in HTML document; it DOES NOT fetch
external stylesheets (for now). Inliner inserts additional attributes when
possible.
.
Similar projects
* premailer (https://github.com/premailer/premailer)
* roadie (https://github.com/Mange/roadie)
Package: douceur
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends}
Built-Using: ${misc:Built-Using}
Section: web
Description: simple CSS parser and inliner in Go (program)
This package provides douceur, a simple CSS parser and HTML inliner.
.
Parser is vaguely inspired by CSS Syntax Module Level 3
(https://www.w3.org/TR/css-syntax-3/) and corresponding JS parser
(https://github.com/tabatkins/parse-css).
.
Inliner only parses CSS defined in HTML document; it DOES NOT fetch
external stylesheets (for now).
.
Parse a CSS file and display result:
$ douceur parse inputfile.css
.
Inline CSS in an HTML document and display result:
$ douceur inline inputfile.html
|