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

sara

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sara

A JavaScript framework that unites the server and client.

  • 0.6.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

Sara.js

A JavaScript framework that unites the server and client.

What makes Sara so great?

Well, she's...

  • a single app that runs in servers and browsers (isomorphic)
  • SEO-friendly (pre-renders your views)
  • skinny (20kb client-side)
  • a node framework at heart (npm install sara --save)

Example

How about a todo list app with...

  • AngularJS views
  • Data persistence
  • RethinkDB storage
  • SEO pre-rendering
  • WebSocket synchronization

See the sara-angular example.

Antipatterns

Due to the originality of Sara's client/server realtionship, there are a few "gotchas" when building apps with her.

  1. NEVER include inline nor external scripts in your templates. All logic should be require()'d from within your Sara app.

Development

To start the example app from a clone of this repo:

  1. $ npm install to install Sara's dependencies
  2. cd examples/sara-angular-example; npm install; to install the example's dependencies
  3. cd ../..; gulp; to serve the example app

Testing

Lint/test your code by running...

$ gulp

...from inside of the repo.

Keywords

FAQs

Package last updated on 28 May 2014

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