frame-placer

0.1.1 • Public • Published

FramePlacer

FramePlacer is a library for replacing turbo-frame elements.

Installation

npm install frame-placer

Usage

import FramePlacer from "frame-placer";

html = '<turbo-frame id="some-frame-id">Incoming frame in DOM</turbo-frame>';

FramePlacer.replace(html);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Package Sidebar

Install

npm i frame-placer

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

4.53 kB

Total Files

6

Last publish

Collaborators

  • panoscodes