@erikkroes/universal-snippet

0.0.1 • Public • Published

<universal-snippet>

<universal-snippet> is bringing the web together, 1 snippet at a time.

Ever wanted to grab a piece of another website and change it automatically when it changes? Probably not, but I made something for it anyway.

📦 Install it

npm i @erikkroes/universal-snippet

🛠️ Use it

<script async type="module" src="/node_modules/@erikkroes/universal-snippet/universal-snippet.js"></script>

<universal-snippet src="your-page-url" query="a-css-selector"></universal-snippet>

🙋🏿 Some questions

Is this safe?

Probably not.

How does it deal with CORS and stuff like that?

Poorly.

It looks rather hacky.

You're probably right.

But you made it anyway?

Exactly.

Package Sidebar

Install

npm i @erikkroes/universal-snippet

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.01 kB

Total Files

4

Last publish

Collaborators

  • erikkroes