dynamodb-mapper
Version:
A fast, easy to use mapper to convert Amazon DynamoDB to and from Javascript Objects.
18 lines (13 loc) • 429 B
JavaScript
// include our types
var Mapper = require('./mapper');
// include our instances
var converters = require('./converters');
/** The entry point for the whole library. Exposes all the relevant functions and constructors. */
function DynamoDBMapper() {
var self = {};
self.Mapper = Mapper;
self.converters = converters;
return self;
}
// singleton; we don't want two of these exported
module.exports = new DynamoDBMapper();