diff --git a/npmextra.json b/npmextra.json index ed0edc0..1049c4c 100644 --- a/npmextra.json +++ b/npmextra.json @@ -2,10 +2,10 @@ "gitzone": { "module": { "githost": "gitlab.com", - "gituser": "pushrocks", + "gitscope": "pushrocks", "gitrepo": "smartjwt", "shortDescription": "a package for handling jwt", - "npmPackageName": "@pushrocks/smartjwt", + "npmPackagename": "@pushrocks/smartjwt", "license": "MIT", "projectDomain": "push.rocks" } @@ -14,4 +14,4 @@ "npmGlobalTools": [], "npmAccessLevel": "public" } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 1a32924..70bc5ee 100644 --- a/package.json +++ b/package.json @@ -21,4 +21,4 @@ "tslint-config-prettier": "^1.15.0" }, "dependencies": {} -} +} \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..da18242 --- /dev/null +++ b/readme.md @@ -0,0 +1,26 @@ +# @pushrocks/smartjwt +a package for handling jwt + +## Availabililty and Links +* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartjwt) +* [gitlab.com (source)](https://gitlab.com/pushrocks/smartjwt) +* [github.com (source mirror)](https://github.com/pushrocks/smartjwt) +* [docs (typedoc)](https://pushrocks.gitlab.io/smartjwt/) + +## Status for master +[![build status](https://gitlab.com/pushrocks/smartjwt/badges/master/build.svg)](https://gitlab.com/pushrocks/smartjwt/commits/master) +[![coverage report](https://gitlab.com/pushrocks/smartjwt/badges/master/coverage.svg)](https://gitlab.com/pushrocks/smartjwt/commits/master) +[![npm downloads per month](https://img.shields.io/npm/dm/@pushrocks/smartjwt.svg)](https://www.npmjs.com/package/@pushrocks/smartjwt) +[![Known Vulnerabilities](https://snyk.io/test/npm/@pushrocks/smartjwt/badge.svg)](https://snyk.io/test/npm/@pushrocks/smartjwt) +[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) +[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) +[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/) + +## Usage + +For further information read the linked docs at the top of this readme. + +> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) +| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) + +[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com) diff --git a/test/test.ts b/test/test.ts index 1dc7497..5f006f6 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,8 +1,8 @@ import { expect, tap } from '@pushrocks/tapbundle'; -import * as smartjwt from '../ts/index' +import * as smartjwt from '../ts/index'; tap.test('first test', async () => { - console.log(smartjwt.standardExport) -}) + console.log(smartjwt.standardExport); +}); -tap.start() +tap.start(); diff --git a/ts/smartjwt.plugins.ts b/ts/smartjwt.plugins.ts index d00ae0c..29aa9da 100644 --- a/ts/smartjwt.plugins.ts +++ b/ts/smartjwt.plugins.ts @@ -1,4 +1,2 @@ const removeme = {}; -export { - removeme -} +export { removeme };