# intkeygenerator

> int secuential primarykey generator for SQL Server

Latest version **0.0.6** (published 2014-10-28) · 0 weekly downloads

## Install

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

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2014-10-28 |
| First published | 2014-10-08 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.6 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marcos Mellibovsky |
| Maintainers | mellibo |
| Keywords | mssql, pk, hilo, int, primarykey, sql server, ms sql, primary key |

## Links

- npm: https://www.npmjs.com/package/intkeygenerator
- Repository: https://github.com/mellibo/
- Homepage: https://github.com/mellibo/intkeygenerator
- Issues: https://github.com/mellibo/intkeygenerator/issues
- npm.io page: https://npm.io/package/intkeygenerator

## Dependencies (2)

- [mssql](https://npm.io/package/mssql.md) ^1.2.1
- [mssql-helper](https://npm.io/package/mssql-helper.md) ^0.2.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.0.6 (latest) — 2014-10-28
- 0.0.5 — 2014-10-08
- 0.0.4 — 2014-10-08
- 0.0.3 — 2014-10-08
- 0.0.2 — 2014-10-08
- 0.0.1 — 2014-10-08

## README

# intkeyGenerator

generate secuential int primarykey for sql server. 

For use with Node.js and mssql: https://github.com/patriksimek/node-mssql

## Background


## Install

`npm install intkeygenerator`

## Usage

```javascript

var keyGeneratorSql = require('intkeygenerator');

keyGeneratorSql.setConfig( {user: 'test', password: 'test', server: 'localhost', database: 'test' });

var keyGenerator = keyGeneratorSql.getKeyGenerator();

keyGenerator.next(function(err, value){
	console.log(value);
}

```
## How it works


## API

### client.next(err, callback) 

get next value

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