sugar-spec is an executable specification against which a sugar compatible database connector may be implemented. See mongoose-sugar for an example implementation.
rest-sugar in particular uses the specification. In this case it used to construct REST interface based on the database schema and the queries provided by this specification.
sugar-spec is available under MIT. See LICENSE for more details.