open-index/open-npm huggingface dataset:
npm package: @havietduc91/vue-date-range-picker
Description: A date range picker Forked from Owumaro repository
Author: DucHV
Latest version: 0.2.5

# vue-date-range-picker
A vue component using Bootstrap 4 styles for date range selection

![Vue-Treeselect Screenshot](https://i.imgur.com/YgPhJTk.png)

[Live demo (jsfiddle)](https://jsfiddle.net/Owumaro/qw7mpfr8/)

### Features

- Date range selection
- Compare feature: select a second date range
- No integration: DIY with your favorite vue components or js libraries
- Bootstrap 4 styles (requires Bootstrap 4 CSS)
- Returns Moment.js instances (requires moment.js)

## Installation

```
npm install --save @havietduc91/vue-date-range-picker
```

## Usage

### Webpack

#### JavaScript
```js
// Import the component
import DateRangePicker from '@havietduc91/vue-date-range-picker'
import '@havietduc91/vue-date-range-picker/dist/vue-date-range-picker.css'

export default {
  // Register the component
  components: { DateRangePicker },
  
  // Create a method for the submit event
  methods: {
    updateRanges: function(range) {
      ...
    }
  },
  ...
}
```

#### HTML template
```html
<date-range-picker v-on:submit="updateRanges" />
```

## API

### Events

As the component needs to transmit multiple values (`startDate`, `endDate`, `compare`, `startDateCompare`, `endDateCompare`), it can not use `v-model`.

Instead, it triggers 2 events:
- `submit`: when the submit button is clicked; provides an `Object` argument with the 5 attributes mentioned above
- `cancel`: when the cancel button is clicked

### Props

Prop | Type | Default | Description
-----|------|---------|------------
`calendar-count` | `Number` | `2` | Number of calendars to display
`allow-compare` | `Boolean` | `true` | Enable/disable the comparison feature
`ranges` | `Object` | `{ currentMonth: { ... }, lastMonth: { ... } }` | Predefined ranges displayed in select menu(s)
`compareRanges` | `Object` | `{ currentMonth: { ... }, lastMonth: { ... } }` | Predefined compare ranges displayed in select menu(s)
`default-range-select` | `String` | `currentMonth` | Key of the range to select by default
`default-range-select-compare` | `String` | `lastMonth` |  Key of the range to select by default (compare)

## Development

### Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies
```
npm run build
```

## Inspiration

- Google Analytics date range picker
- https://github.com/dangrossman/daterangepicker
- https://github.com/Owumaro/vue-date-range-picker

## TODO
- Tests
- CSS without bootstrap dependency
npm package: @havklo/kraken-wasm
Description: WASM bindings for Kraken orderbook engine
Latest version: 0.1.1

# @havklo/kraken-wasm

WebAssembly orderbook engine for Kraken. Run the same high-performance orderbook logic used in HFT backends directly in the browser.

## Install

```bash
npm install @havklo/kraken-wasm
```

## Usage

```javascript
import init, { WasmOrderbook } from '@havklo/kraken-wasm';

await init();

const book = new WasmOrderbook("BTC/USD", 10);

// Apply snapshot from Kraken WebSocket
book.apply_snapshot(snapshotJson);

// Apply delta updates
book.apply_update(updateJson);

// Query orderbook
console.log("Spread:", book.spread());
console.log("Mid price:", book.mid_price());
console.log("Best bid:", book.best_bid());
console.log("Best ask:", book.best_ask());
```

## Features

* **Near-native performance** — Same Rust engine compiled to WASM
* **Sub-microsecond operations** — 3.5ns spread calculation
* **CRC32 validation** — Checksum verification on every update
* **Zero dependencies** — Pure WASM, no runtime bloat
* **Financial precision** — Decimal math, no floating point errors

## Live Demos

See this package in action:

* [https://havsyn.vercel.app](https://havsyn.vercel.app) — Real-time orderbook visualizer
* [https://havdepth.vercel.app](https://havdepth.vercel.app) — Cumulative depth charts
* [https://havflow.vercel.app](https://havflow.vercel.app) — Order flow imbalance
* [https://havnet.vercel.app](https://havnet.vercel.app) — Multi-symbol dashboard

## Documentation & Examples

* **Full Documentation:** [https://miny.mintlify.app](https://miny.mintlify.app)
* **Example Integrations:** [https://github.com/hitakshiA/Havklo_sdk](https://github.com/hitakshiA/Havklo_sdk)

## Part of Havklo

This is the WASM build of kraken-book from the [Havklo SDK](https://github.com/hitakshiA/Havklo_sdk).

For server-side Rust usage, see [kraken-sdk](https://crates.io/crates/kraken-sdk) on crates.io.

## License

MIT