# jedlik

> Fluent syntax generator for DynamoDB.

Latest version **1.0.12** (published 2026-10-29) · 0 weekly downloads

## Install

```sh
npm install jedlik
pnpm add jedlik
yarn add jedlik
bun add jedlik
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2026-10-29 |
| First published | 2014-04-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 56.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | B2M Solutions |
| Maintainers | b2mdevelopment |
| Keywords | dynamodb |

## Links

- npm: https://www.npmjs.com/package/jedlik
- Repository: https://github.com/B2MSolutions/jedlik
- Homepage: https://github.com/B2MSolutions/jedlik#readme
- Issues: https://github.com/B2MSolutions/jedlik/issues
- npm.io page: https://npm.io/package/jedlik

## Recent versions

- 1.0.12 (latest) — 2026-10-29
- 1.0.11 — 2026-02-16
- 1.0.10 — 2022-06-27
- 1.0.9 — 2021-09-22
- 1.0.8 — 2021-09-08
- 1.0.7 — 2019-02-01
- 1.0.6 — 2019-02-01
- 1.0.5 — 2018-10-23
- 1.0.4 — 2018-10-09
- 1.0.3 — 2018-10-05
- 0.2.1 — 2015-02-06
- 0.2.0 — 2015-02-03
- 0.1.5 — 2015-01-14
- 0.1.4 — 2015-01-09
- 0.1.3 — 2015-01-09
- … 24 more at https://npm.io/package/jedlik/versions

## README

# jedlik

[![Build Status](https://secure.travis-ci.org/B2MSolutions/jedlik.png)](http://travis-ci.org/B2MSolutions/jedlik)
[![David Dependency Overview](https://david-dm.org/B2MSolutions/jedlik.png "David Dependency Overview")](https://david-dm.org/B2MSolutions/jedlik)

## Description
Jedlik is a fluent syntax generator for Amazon's DynamoDB.

## Why Jedlik?
Ányos Jedlik was a Hungarian inventor and engineer.
His best known invention is the principle of [dynamo self-excitation](http://en.wikipedia.org/wiki/%C3%81nyos_Jedlik#Dynamo_invention)

## Example

Jedlik uses a fluent interface to produce DynamobDB query syntax:

```javascript

var Jedlik = require('jedlik'), jedlik = new Jedlik();

var query = jedlik
  .tablename('table_name')
  .hashkey('hash', 'hashvalue')
  .rangekey('range', 'rangevalue', 'BEGINS_WITH')
  .get(['attributes', 'attribute'])
  .query;

```
## Methods

### tablename

The name of the table containing the requested items.

### hashkey

Accepts a key, a value and an optional `ComparisonOperator` which defaults to `EQ`

### rangekey

Same as [hashkey](#hashkey).

### rangekeyBetween
Add rangekey BETWEEN condition

`.rangekeyBetween([keyName], [fromValue], [toValue])`

Use only with `query`

### get

Accepts an array of attributes to get.

### query

Returns the constructed JSON query.

### put

Returns the constructed JSON putItem.

### expected
Add Expected condition for UpdateItem(`.update()`)

`.expected([keyName], [expectedValue], [comparisonOperator])`

Use only with `update`

---
_Source: https://npm.io/package/jedlik · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
