node package manager

resource-replicator

provides an application replication API for resource based apps

replicator

provides an application replication API for resource based apps

API

properties

methods

provides an application replication API for resource based apps

  • id

    • type : any

methods

replicator.push(options, callback)

pushes local big instance to a remote big instance

  • options

    • type : object

    • properties

      • host

        • description : the host to push to

        • type : string

        • default : biginternetcompany.net

      • port

        • description : the port to push to

        • type : string

        • default : 8888

  • callback

    • type : function

replicator.pull(options, callback)

pulls a big instance from a remote big instance

  • options

    • type : object
  • callback

    • type : function

replicator.checkout(options, callback)

checks out a local git repo into a directory

  • options

    • type : object

    • properties

      • repo

        • description : the repo to checkout

        • type : string

      • path

        • description : the path to check the repo out to

        • type : string

  • callback

    • type : function

replicator.listen(callback)

starts a listening replicator service capable of recieving push requests

  • callback

    • type : function

replicator.start(callback)

starts a listening replicator service capable of recieving push requests

  • callback

    • type : function

dependencies

README auto-generated with docs