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

baucis

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baucis - npm Package Compare versions

Comparing version 1.0.0-candidate.9 to 1.0.0-candidate.10

6

CHANGES.md
# Baucis Change Log
## v1.0.0-candidate.10
Fix some typos.
## v1.0.0-candidate.9

@@ -7,2 +12,3 @@

## v1.0.0-candidate.8

@@ -9,0 +15,0 @@

2

package.json

@@ -9,3 +9,3 @@ {

"homepage": "https://github.com/wprl/baucis",
"version": "1.0.0-candidate.9",
"version": "1.0.0-candidate.10",
"main": "index.js",

@@ -12,0 +12,0 @@ "scripts": {

@@ -1,2 +0,2 @@

# baucis v1.0.0-candidate.8
# baucis v1.0.0-candidate.10

@@ -104,8 +104,10 @@ Baucis enables you to build scalable REST APIs using the open source tools and standards you and your team already know. Like Baucis and Philemon of old, the module provides REST to the weary traveler. [Baucis](https://en.wikipedia.org/wiki/Baucis_and_Philemon) is not the same as [Bacchus](https://en.wikipedia.org/wiki/Dionysus).

Calling `baucis.rest` also adds it to the current API being created. When `baucis()` is called, the API is finalized and any new controllers will be added to another API instance.
Calling `baucis.rest` also adds the newly created controller to the current API. When `baucis()` is called, the API is finalized and any subsequent controllers will be added to another API instance.
```javascript
// Creating the first API.
baucis.rest('legume');
var api = baucis();
app.use(api);
baucis.rest('tube');
// Creating another API.
baucis.rest('tuber');
var api2 = baucis();

@@ -135,3 +137,3 @@ ```

Baucis also adds controller the `request` and `query` methods to interact with the baucis interal Mongoose query. __(See the [middleware section](#Middleware).)__
Baucis also adds controller the `request` and `query` methods to interact with the baucis interal Mongoose query. **(See the [middleware section](#middleware).)**

@@ -138,0 +140,0 @@ ``` javascript

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