https://github.com/migme/surfboard
:surfer: Widget to embed Migme in web apps
https://github.com/migme/surfboard
beach frontend sdk web
Last synced: 5 months ago
JSON representation
:surfer: Widget to embed Migme in web apps
- Host: GitHub
- URL: https://github.com/migme/surfboard
- Owner: migme
- Created: 2015-04-13T07:48:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-08T08:31:30.000Z (over 10 years ago)
- Last Synced: 2025-10-24T17:48:08.625Z (8 months ago)
- Topics: beach, frontend, sdk, web
- Language: JavaScript
- Homepage:
- Size: 425 KB
- Stars: 4
- Watchers: 56
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Surfboard
Widget to bring the Migme fun to web apps.
[](https://gitter.im/migme/surfboard)
[](https://codeship.com/projects/75220)
[](https://travis-ci.org/migme/surfboard)
[](https://codecov.io/github/migme/surfboard)
[](https://gemnasium.com/migme/surfboard)
[](https://github.com/feross/standard)
[](https://www.npmjs.com/package/migme-surfboard)
[](https://www.npmjs.com/package/migme-surfboard)
[](https://github.com/migme/surfboard/releases/latest)

## Installation
### NPM
```
npm install migme-surfboard
```
### CDN
Replace `${VERSION}` with a released version number.
```html
```
## Usage
### Loading
```js
// ES6
import Surfboard from 'migme-surfboard'
// CommonJS
var Surfboard = require('migme-surfboard')
// AMD
define(['migme-surfboard'], function (Surfboard) {
// ...
})
```
### Initialization
```
const widget = new Surfboard()
```
### Development
```bash
# Install dependencies
npm install
# Run tests (continuous integration)
npm test
# Run tests (development)
karma start
# ... sans code coverage for clean source maps
# See: douglasduteil/isparta#31
karma start --coverage false
# Build
gulp browserify
# ... forever
gulp watchify
```
### Live Demo
```
npm i -g http-server
http-server
open http://127.0.0.1:8080
```