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

syncano-repl

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

syncano-repl

To install the latest version of Syncano REPL run this command:

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Usage

To install the latest version of Syncano REPL run this command:

npm i -g syncano-repl

To start Syncano REPL, go to your project root directory and run:

sr
# or
syncano-repl

This will give you access to interactive editor with initialized @syncano/core available under s variable:

# Get list of classes in current instance
s._class.list()

# Get list of users
s.users.list()

# User any method listed in Syncano Core docs
s.data.posts.where('status', 'draft').list()

Good to know

  • Syncano response will be piped into fx command which makes response interactive. Read docs to learn how to use it.
  • Last response is saved to .syncano-repl-response.json file in directory where Syncano REPL was run.
  • All called commands are saved to .syncano-repl-history file in directory wher Syncano REPL was run.
  • It's recommended to add .syncano-repl-response.json and .syncano-repl-history to .gitignore

FAQs

Package last updated on 20 Nov 2019

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