Skip to content

gkjohnson/sharedb-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharedb-builds

npm version

Repo housing pre-compiled builds of ShareDB and basic OT Types for the browser using WebPack because by default ShareDB requires WebPack or Browserify to use.

Use

<!--
  Loads ShareDB onto "window.ShareDB"
  and registers the "text" OT type
-->
<script type="text/javascript" src=".../sharedb-builds/dist/sharedb-client.min.js"></script>
<script type="text/javascript" src=".../sharedb-builds/ot-text.min.js"></script>
<script>
  console.log(window.ShareDB)               // It's here!
  console.log(window.ShareDBypes.map.text)  // This too!
</script>

Building

Run npm run build to minify and build every entry file in /build

Run npm run update to update all packages and create a new build

Folder Structure

/build

Webpack entry files for the OT types and ShareDB client

/dist

Minified, browser loadable files for each file in /build

About

Prebuilt versions of the ShareDB Client and OT Types

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy