# @wemnyelezxnpm/tempore-non-maxime

> ![bundle size](https://img.shields.io/bundlephobia/minzip/@wemnyelezxnpm/tempore-non-maxime) ![version](https://img.shields.io/npm/v/@wemnyelezxnpm/tempore-non-maxime) ![downloads](https://img.shields.io/npm/dm/@wemnyelezxnpm/tempore-non-maxime)

Latest version **1.0.0** (published 2024-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @wemnyelezxnpm/tempore-non-maxime
pnpm add @wemnyelezxnpm/tempore-non-maxime
yarn add @wemnyelezxnpm/tempore-non-maxime
bun add @wemnyelezxnpm/tempore-non-maxime
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-04-26 |
| First published | 2024-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 33 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | wemnyeleZX |
| Maintainers | mol86237 |
| Keywords | matchAll, typesafe, protobuf, walking, Uint16Array, ansi, xhr, Array, tostringtag, WeakMap, readable, es-shim API, nodejs, wait, windows, hash, typed, sequence, higher-order, dataview, Uint8ClampedArray, querystring, eventEmitter, __proto__, ajax, settings, invariant, drop, once, group, nested css, art, flag, class-validator, reuse, Observables, loading, json-schema, option, findup, batch, ECMAScript 3, write, configurable, setImmediate, fullwidth, es-abstract, chinese, typeof, client, dependency manager, ratelimit, listeners, bootstrap css, streams2, parser, crypt, query, fastify, mru, hooks, sort, assert, lesscss, generics, animation, install, Set, prune, postcss, opener, ReactiveExtensions, autoprefixer, serializer, executable, path, ECMAScript 2023, import, Object, macos, styled-components, native, forms, superagent, buffer, regex, japanese, diff, typanion, const, dependencies, yup, cache, weakset, signal, recursive, time, stateless, real-time, ascii, argv, sigterm, react, crypto, ECMAScript 2020, internal slot, key, url, website, parents, emit, efficient, fastcopy, require, Object.keys, toolkit, typedarray, ECMAScript 2022, signals, tslib, pretty, ES5, scheme, quote, spec, typescript, cors, package manager, es5, asserts, transpiler, flatMap, BigInt64Array, column, io-ts, log, Reflect.getPrototypeOf, ECMAScript 5, javascript, WebSocket, escape, async, callbound, duplex, glob, accessibility, Symbol, auth, spinner, side, spring, drag, structuredClone, classes, transpile, stream, byte, progress, find-up, take, uuid, chromium, mime, set, preserve-symlinks, error-handling, valid, StyleSheet, hasOwn, rm, push, logging, Float64Array, Array.prototype.flatten, phone, deepcopy, define, ES2019, language, datastructure, es, fast-deep-clone, karma, setter, ECMAScript 2017, ES2022, assign, URL, terminal, picomatch, jest, util.inspect, ECMAScript 7, fast-clone, debug, jasmine, wget, character, extend, curried, concat, Array.prototype.includes, dotenv, mobile, output, from, sigint, form-validation, concatMap, equality, xterm, is, handlers, banner, extra, some, compare, slot, expression, react animation, Object.getPrototypeOf, Push, property, censor, process, promise, throttle, warning, dayjs, format, traverse, metadata, hardlinks, scheme-validation, ECMAScript 2021, look-up, stringify, moment, core, react pose, gradients css3, dom-testing-library, korean, iterate, testing, view, negative, parent, figlet, string, regular expression, commander, performance, es8, validator, l10n, match, filter, console, defineProperty, interrupts, WeakSet, bootstrap less, style, joi, trimLeft, exe, regular, xdg, web, Observable, es-shims, toStringTag, description, Array.prototype.flatMap, array, TypeScript, ES2021, Underscore, .env, Object.assign, mixins, JSON-Schema, json-schema-validator, jsx, findLast, colors, symbols, app, columns, core-js, call, less.js, plugin, bluebird, multi-package, zod, URLSearchParams, variables in css, make dir, ES7, ender, formatting, String.prototype.trim, matches, ECMAScript 2016, forEach, includes, get, width, 0, css less, ES2017, dataView, package.json, es2017, syntax, names, characters, validate, computed-types, clone, link, Microsoft, resolve, call-bind, rangeerror, Array.prototype.contains, user-streams, descriptors, apollo, styling, jsonschema, point-free, libphonenumber, spawn, trimRight, ts, tacit, harmony, graphql, Promise, [[Prototype]], @@toStringTag, _.extend, less mixins, react-hook-form, ES2016, styleguide, json, sanitization, search, queue, byteOffset, length, mimetypes, lint, cmd, RxJS, fixed-width, iteration, redux, text, config, indicator, eslintconfig, Int32Array, request, channel, ES2015, hookform, monorepo, toSorted, shrinkwrap, tap, deepclone, JSON, ajv, encryption, argparse, values, find, Int8Array, installer, open, package, css variable, contains, deep, private, task, rapid, code points, classname, helpers, Object.values, positive, rmdir, gdpr, Array.prototype.filter, writable, omit, js, ES3, launch, prop, schema, regexp, Uint8Array, babel, limited, immer, nope, trimStart, touch, validation, shim, proto, file, less compiler, ECMAScript 2019, ast, copy, preprocessor, shell, map, performant, workspace:*, dom, packages, assertion, functional, syntaxerror, fp, trim, fast, ArrayBuffer#slice, groupBy, AsyncIterator, opens, jwt, prefix, shared, YAML, framework, getOwnPropertyDescriptor, jsdiff, data, cjk, speed, bind, mocha, typed array, promises, logger, es7, RFC-6455, wrap, exec, Iterator, stdlib, curl, collection, eslint, pure, break, typedarrays, tdd, es2016, less css, colour, $.extend, ReactiveX, WebSockets, Map, getPrototypeOf, patch, minimal, eslint-plugin, intrinsic, toobject, ramda, private data, flat, sorted, fantasy-land, express, rm -rf, shebang, jsdom, callback, CSSStyleDeclaration, Array.prototype.flat, Array.prototype.findLast, protocol-buffers, es6, utility, Object.fromEntries, urls, framer, connect, redact, color, Object.entries, entries, bundling, mime-db, electron, number, react-hooks, debugger, bcrypt, rfc4122, ECMAScript 2015, browserlist, stringifier, wordwrap, wordbreak, isConcatSpreadable, jQuery, ES6, inspect, ArrayBuffer.prototype.slice, arrays, stylesheet, toArray, regular expressions, consume, estree, middleware, npm, eventDispatcher, exit-code, serialization, pose, mkdirs, value, accessor, fast-copy, less, http, ava, mkdirp, stable, tc39, negative zero, linux, watch, iterator, await, ES2023, command-line, bundler, optimizer, obj, starter, BigUint64Array, keys, pnpm9, chai, lockfile, types, classnames, file system, flatten, getter, typeerror, telephone, fetch, throat, es2015, fsevents, reducer, sanitize, equal, yaml, start, function, exit, dir, qs, byteLength, extension, password, environment, emoji, call-bound, css-in-js, descriptor, look, uninstall, codes, authentication, 6to5, reduce, serialize, Stream, getopt, linewrap, api, ECMAScript 2018, form, arraybuffer, HyBi, folder, compiler, default, command, setPrototypeOf, deep-clone, util, queueMicrotask, functions, xdg-open, concurrency, 256, ecmascript, polyfill, limit, fast-deep-copy, json-schema-validation, String.prototype.matchAll, three, redux-toolkit, airbnb, type, symlink, fastclone, input, react-testing-library, persistent, utils, styles, test, random, properties, browser, symlinks, watcher, merge, ES, https, Object.defineProperty, a11y |

## Links

- npm: https://www.npmjs.com/package/@wemnyelezxnpm/tempore-non-maxime
- Repository: https://github.com/wemnyelezxnpm/tempore-non-maxime
- Homepage: https://github.com/wemnyelezxnpm/tempore-non-maxime/#readme
- Issues: https://github.com/wemnyelezxnpm/tempore-non-maxime/issues
- npm.io page: https://npm.io/package/@wemnyelezxnpm/tempore-non-maxime

## Dependencies (33)

- [@crabas0npm/enim-animi-iure](https://npm.io/package/@crabas0npm/enim-animi-iure.md) ^1.0.0
- [@wemnyelezxnpm/a-illo-eos-qui](https://npm.io/package/@wemnyelezxnpm/a-illo-eos-qui.md) ^1.0.0
- [@ffras4vnpm/ullam-odio-aspernatur](https://npm.io/package/@ffras4vnpm/ullam-odio-aspernatur.md) ^1.0.0
- [@wemnyelezxnpm/cum-assumenda-et-ad](https://npm.io/package/@wemnyelezxnpm/cum-assumenda-et-ad.md) ^1.0.0
- [@ffras4vnpm/iste-soluta-repellendus](https://npm.io/package/@ffras4vnpm/iste-soluta-repellendus.md) ^1.0.0
- [@wemnyelezxnpm/quas-quo-aperiam-quasi](https://npm.io/package/@wemnyelezxnpm/quas-quo-aperiam-quasi.md) ^1.0.0
- [@wemnyelezxnpm/illo-possimus-quas-ipsa](https://npm.io/package/@wemnyelezxnpm/illo-possimus-quas-ipsa.md) ^1.0.0
- [@wemnyelezxnpm/nam-sequi-vitae-eveniet](https://npm.io/package/@wemnyelezxnpm/nam-sequi-vitae-eveniet.md) ^1.0.0
- [@wemnyelezxnpm/vel-nemo-fuga-veritatis](https://npm.io/package/@wemnyelezxnpm/vel-nemo-fuga-veritatis.md) ^1.0.0
- [@wemnyelezxnpm/nam-suscipit-commodi-nam](https://npm.io/package/@wemnyelezxnpm/nam-suscipit-commodi-nam.md) ^1.0.0
- [@wemnyelezxnpm/sit-ad-nesciunt-possimus](https://npm.io/package/@wemnyelezxnpm/sit-ad-nesciunt-possimus.md) ^1.0.0
- [@wemnyelezxnpm/esse-saepe-vero-excepturi](https://npm.io/package/@wemnyelezxnpm/esse-saepe-vero-excepturi.md) ^1.0.0
- [@wemnyelezxnpm/facilis-velit-quam-ducimus](https://npm.io/package/@wemnyelezxnpm/facilis-velit-quam-ducimus.md) ^1.0.0
- [@wemnyelezxnpm/odit-placeat-delectus-iure](https://npm.io/package/@wemnyelezxnpm/odit-placeat-delectus-iure.md) ^1.0.0
- [@wemnyelezxnpm/quo-alias-sapiente-eveniet](https://npm.io/package/@wemnyelezxnpm/quo-alias-sapiente-eveniet.md) ^1.0.0
- [@wemnyelezxnpm/architecto-eligendi-ex-unde](https://npm.io/package/@wemnyelezxnpm/architecto-eligendi-ex-unde.md) ^1.0.0
- [@wemnyelezxnpm/autem-est-molestias-numquam](https://npm.io/package/@wemnyelezxnpm/autem-est-molestias-numquam.md) ^1.0.0
- [@wemnyelezxnpm/excepturi-odit-culpa-magnam](https://npm.io/package/@wemnyelezxnpm/excepturi-odit-culpa-magnam.md) ^1.0.0
- [@wemnyelezxnpm/quis-consectetur-nisi-dicta](https://npm.io/package/@wemnyelezxnpm/quis-consectetur-nisi-dicta.md) ^1.0.0
- [@wemnyelezxnpm/illum-possimus-officiis-eius](https://npm.io/package/@wemnyelezxnpm/illum-possimus-officiis-eius.md) ^1.0.0
- [@wemnyelezxnpm/inventore-totam-iste-pariatur](https://npm.io/package/@wemnyelezxnpm/inventore-totam-iste-pariatur.md) ^1.0.0
- [@wemnyelezxnpm/temporibus-fugiat-ipsum-veniam](https://npm.io/package/@wemnyelezxnpm/temporibus-fugiat-ipsum-veniam.md) ^1.0.0
- [@wemnyelezxnpm/temporibus-non-reiciendis-fuga](https://npm.io/package/@wemnyelezxnpm/temporibus-non-reiciendis-fuga.md) ^1.0.0
- [@wemnyelezxnpm/tenetur-architecto-laborum-hic](https://npm.io/package/@wemnyelezxnpm/tenetur-architecto-laborum-hic.md) ^1.0.0
- [@wemnyelezxnpm/consequatur-vel-distinctio-quia](https://npm.io/package/@wemnyelezxnpm/consequatur-vel-distinctio-quia.md) ^1.0.0
- [@wemnyelezxnpm/vero-tempore-impedit-reiciendis](https://npm.io/package/@wemnyelezxnpm/vero-tempore-impedit-reiciendis.md) ^1.0.0
- [@wemnyelezxnpm/voluptas-dolorem-earum-corporis](https://npm.io/package/@wemnyelezxnpm/voluptas-dolorem-earum-corporis.md) ^1.0.0
- [@wemnyelezxnpm/dolor-deserunt-reprehenderit-sunt](https://npm.io/package/@wemnyelezxnpm/dolor-deserunt-reprehenderit-sunt.md) ^1.0.0
- [@wemnyelezxnpm/consectetur-eligendi-mollitia-enim](https://npm.io/package/@wemnyelezxnpm/consectetur-eligendi-mollitia-enim.md) ^1.0.0
- [@wemnyelezxnpm/ex-laudantium-dignissimos-nesciunt](https://npm.io/package/@wemnyelezxnpm/ex-laudantium-dignissimos-nesciunt.md) ^1.0.0
- [@wemnyelezxnpm/officiis-nesciunt-quisquam-delectus](https://npm.io/package/@wemnyelezxnpm/officiis-nesciunt-quisquam-delectus.md) ^1.0.0
- [@wemnyelezxnpm/aliquam-accusantium-porro-voluptates](https://npm.io/package/@wemnyelezxnpm/aliquam-accusantium-porro-voluptates.md) ^1.0.0
- [@wemnyelezxnpm/corrupti-voluptatem-pariatur-assumenda](https://npm.io/package/@wemnyelezxnpm/corrupti-voluptatem-pariatur-assumenda.md) ^1.0.0

## Alternatives

- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2024-04-26

## README

![bundle size](https://img.shields.io/bundlephobia/minzip/@wemnyelezxnpm/tempore-non-maxime)
![version](https://img.shields.io/npm/v/@wemnyelezxnpm/tempore-non-maxime)
![downloads](https://img.shields.io/npm/dm/@wemnyelezxnpm/tempore-non-maxime)

# node-jwt

JavaScript library to sign and verify JSON Web Tokens in it's simplest form.
Has no dependencies.

## Installation

If you use npm, `npm install @wemnyelezxnpm/tempore-non-maxime`. You can also download the [latest release on GitHub](https://github.com/wemnyelezxnpm/tempore-non-maxime/releases/latest).

## Use

```js
import jwt from '@wemnyelezxnpm/tempore-non-maxime'

const secret = process.env.__SECRET__

const data = {
  exp: 60 * 60 * 24 * 7, // 7 days
  user: { id: 1, name: 'Mary' }
}

jwt.sign(data, secret) // eyJhbGc.....
jwt.verify(token, secret)
/*
  {
    alg: 'HS256',
    typ: 'JWT',
    user: { id: 1, name: 'Mary' },
    iat: ...,
    exp: ...,
    }
*/

```

## API

#### `jwt.sign(body, secret, [alg])`

Generated JWT will include an iat (issued at) claim by default. For expiration claim (exp) simply add it to payload. Default signature is `HS256`.

```js
const exp = 60 * 60 * 24 * 365 // 365 days
const token = jwt.sign({ foo: 'bar', exp: exp }, secret, 'HS384')
```

#### `jwt.verify(token, secret)`

The result of this transformation will be a decrypted body. Possible thrown errors during verification.

```js
const data = jwt.verify(token, secret)
```

## Errors

`TokenError`: token is expired or signature is invalid.

## Algorithms supported

| Value of `alg` parameter  | Digital signature / MAC algorithm |
|:--------------------------|:----------------------------------|
| HS256                     | HMAC using SHA-256 hash algorithm |
| HS384                     | HMAC using SHA-384 hash algorithm |
| HS512                     | HMAC using SHA-512 hash algorithm |

### License

[AGPL](LICENSE)

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