@hellomonday/partial
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@hellomonday/partial

The partial utility can take a string and an optional node and return a valid HTML element.

Install

$ npm install --save @hellomonday/partial

Usage

import html from './valid-html.html';

// Where html is a valid html string and 'section' is a valid node in the string
this.element = partial(html, 'section');

License

MIT © Hello Monday

Readme

Keywords

none

Package Sidebar

Install

npm i @hellomonday/partial

Weekly Downloads

8

Version

1.0.0

License

MIT

Unpacked Size

2.36 kB

Total Files

5

Last publish

Collaborators

  • supermoos
  • zerguei
  • johnnyslack
  • virgilspruit
  • anderssjessen
  • terkelg