open-index/open-npm huggingface dataset:
npm package: @mongoosejs/bson-timestamp
Description: Implementation of BSON timestamp type for Mongoose
Latest version: 0.1.0

# mongoose-bson-timestamps
Implementation of BSON timestamp type for Mongoose

## Usage

First, `npm install @mongoosejs/bson-timestamp` and import this package.

```javascript
// Using Node.js `require()`
const Timestamp = require('@mongoosejs/bson-timestamp');

// Using ES6 imports
import Timestamp from '@mongoosejs/bson-timestamp';
```

You can then use `Timestamp` as a schema type in your schema definitions.

```javascript
const Timestamp = require('@mongoosejs/bson-timestamp');
const mongoose = require('mongoose');

const schema = new mongoose.Schema({
  myTimestamp: { type: Timestamp }
});
```
npm package: @mongoosejs/double
Description: Double support for Mongoose
Author: Valeri Karpov
Latest version: 0.3.0

# mongoose-double

[Mongoose](http://mongoosejs.com/) type for storing MongoDB doubles [(bson type 1)](http://bsonspec.org/spec.html)

[![Build Status](https://secure.travis-ci.org/mongoosejs/mongoose-double.png)](http://travis-ci.org/mongoosejs/mongoose-double)

[Read the Docs](http://plugins.mongoosejs.io/plugins/double)

# Importing

```javascript
// Using Node.js `require()`
const Double = require('@mongoosejs/double');

// Using ES6 imports
import Double from '@mongoosejs/double';
```