JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 59
  • Score
    100M100P100Q63325F
  • License (CPAL-1.0 AND Artistic-2.0 AND MPL-2.0)

Collaborative spreadsheet editor

Package Exports

  • socialcalc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (socialcalc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

SocialCalc

This is the npm package for SocialCalc, an in-browser spreadsheet editor with support for real-time collaboration. This version is based on the version used in EtherCalc.

See it in action at ethercalc.net!

Requirements

  • jQuery (only on the client-side)

Usage

You can require('socialcalc') or include node_modules/socialcalc/dist/SocialCalc.js on your web page using a script tag.

In order to create an editor instance use:

var socialCalcControl = new SocialCalc.SpreadsheetControl()
socialCalcControl.InitializeSpreadsheetControl(el /*, height, width, spacebelow*/)

This package also works in node.js. You don't need to callc InitializeSpreadsheetControl here, because that is just initializing the rendering.

Build from sources

SocialCalc uses npm and gulp, to get the dependencies, use:

npm install

You can now compile the project using

npm run build

Licensing

Common Public Attribution License (Socialtext Inc.)

  • socialcalcspreadsheetcontrol.js
  • socialcalctableeditor.js

Artistic License 2.0 (Socialtext Inc.)

  • formatnumber2.js
  • formula1.js
  • socialcalc-3.js
  • socialcalcconstants.js
  • socialcalcpopup.js

Mozilla Public License 2.0

  • images/sc_*.png