0.1.1 • Published 1 year ago

frame-placer v0.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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.

0.1.1

1 year ago

0.1.0

1 year ago