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

eonc

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eonc - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

13

index.js

@@ -9,6 +9,13 @@ /*!

const server = require('./lib/server');
const Endpoint = require('./lib/endpoint');
const Schema = require('./lib/schema')
exports = module.exports = {
Server: require('./lib/server'),
Endpoint: require('./lib/endpoint'),
Schema: require('./lib/schema')
server: server,
Endpoint: Endpoint,
endpoint: function () {
return new Endpoint();
},
Schema: Schema
};

@@ -58,6 +58,6 @@ /*!

Object.assign(Server, proto);
EventEmitter.call(Server);
Object.assign(Server, EventEmitter.prototype);
Server.route = '/';
Server.stack = [];
return Server
return Server;
}

@@ -64,0 +64,0 @@

{
"name": "eonc",
"description": "Easy to use web framework for fast restful applications",
"version": "0.0.6",
"version": "0.0.7",
"author": "Panates Ltd.",

@@ -30,3 +30,8 @@ "contributors": [

},
"devDependencies": {},
"devDependencies": {
"assert": "^1.4.1",
"istanbul": "^0.4.5",
"mocha": "^3.2.0",
"supertest": "^2.0.0"
},
"engines": {

@@ -41,3 +46,8 @@ "node": ">= 4.3.2"

"lib/"
]
],
"scripts": {
"test": "mocha --require test/support/env --reporter spec --bail --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --require test/support/env --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --require test/support/env --reporter spec --check-leaks test/"
}
}

@@ -5,2 +5,4 @@ # EONC

[![NPM Downloads][downloads-image]][downloads-url]
[![Build Status][travis-image]][travis-url]
[![Test Coverage][coveralls-image]][coveralls-url]

@@ -14,3 +16,3 @@ [EONC](http://eonc.io) is a fast Rest-Application framework for [NodeJS](http://nodejs.org), makes building rest applications easy.

const app = eonc.Server();
const app = eonc.server();

@@ -82,3 +84,3 @@ // gzip/deflate outgoing responses

```js
const app = eonc.Server();
const app = eonc.server();
```

@@ -85,0 +87,0 @@ ### Create endpoints

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