0.1.3 • Published 4 years ago

embedsheet v0.1.3

Weekly downloads
23
License
MIT
Repository
github
Last release
4 years ago

EmbedSheet

Embed a spreadsheet into your webpage. Somewhat lightweight and progressively enhanced. Built with SheetJS Community Edition and Loki for efficient in-memory querying.

Needs a bit of work; contributions welcome.

Use

Start by making a hyperlink to the spreadsheet you wish to embed. Progressive enhacement is enforced; if the browser isn't capable of using this library, the user can click the link to download and view in a native application.

<a href="spreadsheet.xlsx">My spreadsheet</a>

Then, add the required scripts, and an attribute

<html>
  <head>
    <meta charset="UTF-8">
    <title>Sample</title>
    <!-- Basic polyfills for IE and older browsers -->
    <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,fetch"></script>
    <script src="https://unpkg.com/xlsx/dist/shim.min.js"></script>
    <!-- The actual library, with dependencies built in -->
    <script src="embedsheet.js"></script>
  </head>
  <body>
    <a href="spreadsheet.xlsx" data-embed-type="sheet">My spreadsheet</a>
  </body>
</html>

Roadmap

Contributing

Contributions to this project are welcomed.

https://www.huduser.gov/portal/datasets/hads/hads.html

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago