# guardtime

> Guardtime signing service access/verification API for node.js

Latest version **0.1.4** (published 2015-08-20) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2015-08-20 |
| First published | 2011-08-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 7 |
| Author | Risto Laanoja |
| Maintainers | risto |

## Links

- npm: https://www.npmjs.com/package/guardtime
- Repository: https://github.com/ristik/node-guardtime
- Homepage: http://www.guardtime.com/
- Issues: https://github.com/ristik/node-guardtime/issues
- npm.io page: https://npm.io/package/guardtime

## Dependencies (2)

- [nan](https://npm.io/package/nan.md) ~1.9.0
- [bindings](https://npm.io/package/bindings.md) >=1.0.0

## Recent versions

- 0.1.4 (latest) — 2015-08-20
- 0.1.3 — 2015-05-21
- 0.1.2 — 2015-05-18
- 0.1.1 — 2015-04-15
- 0.1.0 — 2013-11-19
- 0.0.9 — 2013-10-05
- 0.0.8 — 2013-06-17
- 0.0.7 — 2013-02-26
- 0.0.5 — 2011-12-05
- 0.0.4 — 2011-11-19
- 0.0.3 — 2011-08-05

## README

note: this legacy project is not maintained any more.

---

# API to access Guardtime services.


Includes Guardtime C API in subdirectory libgt-x.y

How to build:

    npm install .
    npm link
or 

    node-gyp rebuild 


Hello world:

    var gt = require('guardtime');

    gt.sign('Hello world!', function(err, ts) {
      if (err)
        throw err;
      gt.verify('Hello world!', ts, function(err, checkflags, props){
        if (err) 
          throw err;
        console.log('All ok; signed by ' + props.location_name + ' at ' + props.registered_time);
      });
    });

For API documentation please refer to
[node-guardtime-api.markdown](https://github.com/ristik/node-guardtime/blob/master/node-guardtime-api.markdown)

For more information about the Guardtime Keyless Signature service please have a look at
http://www.guardtime.com/signatures/technology-overview

As You are already here - this is the essence:
Guardtime service adds hash of your doc to a giant hash tree with globally unique
root value; and regularily publishes this root value in widely witnessed media.
This allows you to prove that your document did exist at certain point of time, you
used certain service endpoint, and this document was not modified ever after.

Needs Node.JS >= 0.8.0; Windows is not tested.

[![build status](https://secure.travis-ci.org/ristik/node-guardtime.png)](http://travis-ci.org/ristik/node-guardtime)

---
Published under Apache license v. 2.0.
Copyright Guardtime AS 2014

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