Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fh-sync-js

Package Overview
Dependencies
Maintainers
4
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fh-sync-js

Javascript client for fh-sync offline synchronization library

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by200%
Maintainers
4
Weekly downloads
 
Created
Source

FeedHenry Sync Javascript client

Data synchonization javascript client. Library can be used for offline storage of mobile applications data.

Required setup

To use the sync client you need a sync server setup first see https://github.com/feedhenry/fh-sync . Sync client using default Ajax handler to call sync server.
Server URL can be configured using following variables

  • cloudUrl - URL to sync server
  • cloudPath (optional) - allows to use custom endpoint for sync (defaults to /sync/)

For example:


syncClient.init({
    cloudUrl:"http://localhost:3000",
    do_console_log: true,
    sync_frequency: 1,
    sync_active: false,
    storage_strategy: ['memory'],
    crashed_count_wait: 0
});

Building

npm install
grunt 

Relation for fh-js-sdk

Feedhenry JS SDK contains various libraries and also includes fh-sync-js library.

FAQs

Package last updated on 14 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc