mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2025-01-08 01:47:28 -08:00
74eb5fa045
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
27 lines
469 B
JavaScript
27 lines
469 B
JavaScript
// Copyright 2011 Mark Cavage <mcavage@gmail.com> All rights reserved.
|
|
|
|
var errors = require('./errors');
|
|
var types = require('./types');
|
|
|
|
var Reader = require('./reader');
|
|
var Writer = require('./writer');
|
|
|
|
|
|
// --- Exports
|
|
|
|
module.exports = {
|
|
|
|
Reader: Reader,
|
|
|
|
Writer: Writer
|
|
|
|
};
|
|
|
|
for (var t in types) {
|
|
if (types.hasOwnProperty(t))
|
|
module.exports[t] = types[t];
|
|
}
|
|
for (var e in errors) {
|
|
if (errors.hasOwnProperty(e))
|
|
module.exports[e] = errors[e];
|
|
}
|