iryo
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Iryo

github npm:version ci:status Coverage Status license

Usage

Style

import {Style} from 'iryo';

const style = new Style();

// It inject style element which <style>body { color: orange; }</style>
style.content = 'body { color: orange; }';

// It eliminate its style element
style.content = '';

Meta

import {Meta} from 'iryo';

const metaDescription = new Meta('description');

// It inject meta element which <meta name="description" content="foo">
metaDescription.content = 'foo';

// It eliminate its meta element
metaDescription.content = '';

Sandbox

Edit @example/iryo

Readme

Keywords

Package Sidebar

Install

npm i iryo

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

38.9 kB

Total Files

59

Last publish

Collaborators

  • nju33