open-index/open-npm huggingface dataset:
npm package: @knopkem/little-game-engine-ts
Description: LittleGameEngineTS - Tiny and Fast HTML5 Game Engine typescript port of LittleJS
Author: Michael Knopke
Latest version: 0.1.1

# LittleGameEngineTS - The Tiny Typescript Game Engine

This is a typescript port of [LittleJS](https://github.com/KilledByAPixel/LittleJS)

## Improvements over LitteJS

* robust compile step using typescript compiler
* modern module approach (umd module) instead of global space
* modern build pipeline using webpack
* importable npm package
* type definitions when importing game engine - no more programming in the dark

## Drawbacks

* most of the types are still just: any
* does not receive upstream modifications anymore
* might be buggy (it was just a fun project after all)
* might kill your cat

## How to use

```
 npm install -s @knopkem/little-game-engine-ts
```

## Example Project

See starter template [here](https://github.com/knopkem/LittleGameEngineTS-starter)
npm package: @knora/action
Description: Knora ui module: action
Latest version: 10.0.1

# Knora-ui action module

[![npm (scoped)](https://img.shields.io/npm/v/@knora/action.svg)](https://www.npmjs.com/package/@knora/action)

This module is part of [Knora-ui](https://github.com/dasch-swiss/knora-ui) modules, developed by the team at the [Data and Service Center for Humanities DaSCH](http://dasch.swiss).

The action module contains special pipes to sort lists or to get the index key in arrays, but also directives for images, sort buttons and s.o.

## Prerequisites

For help getting started with a new Angular app, check out the [Angular CLI](https://cli.angular.io/).

For existing apps, follow these steps to begin using Knora-ui action.

## Install

You can use either the npm or yarn command-line tool to install packages. Use whichever is appropriate for your project in the examples below.

### Yarn

`yarn add @knora/action`

### NPM

`npm install --save @knora/action`

### Dependencies

This module has the following package dependencies, which you also have to install.

-   @angular/common@8.0.3
-   @angular/core@8.0.3
-   @angular/animations@8.0.3
-   @angular/cdk@8.1.4
-   @angular/material@8.1.4
-   @knora/api@0.2.0
-   ts-md5@1.2.4
-   jdnconvertiblecalendar@0.0.5
-   jdnconvertiblecalendardateadapter@0.0.10

### Required version of Knora: 12.0.0

## Setup

 Import the action module in your app.module.ts and add it to the NgModules's imports:

```javascript
import { AppComponent } from './app.component';
import { KuiActionModule } from '@knora/action';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        KuiActionModule
    ],
    providers: [ ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
```

Some components need a global styling in the app to override some material styling rules. Please update your `angular.json` file as follow:

```json
...
    "styles": [
        "src/styles.scss",
        "node_modules/@knora/action/assets/style/action.scss" // <- add this line
    ],
...
```

## Components, Directives and Pipes

This module contains various components like a progress indicator, sort button and sort-by pipe, but also helper for images (in the admin interface) and existing names.
npm package: @knora/authentication
Description: Knora ui module: authentication
Latest version: 9.5.0
Deprecated: Please use new login form from @knora/action@10.0.0 and @knora/core@10.0.0

# Knora-ui authentication module

[![npm (scoped)](https://img.shields.io/npm/v/@knora/authentication.svg)](https://www.npmjs.com/package/@knora/authentication)

This module is part of [Knora-ui](https://github.com/dasch-swiss/knora-ui) modules, developed by the team at the [Data and Service Center for Humanities DaSCH](http://dasch.swiss).

The authentication module contains the login form (for standalone usage) or a complete login- / logout-button environment incl. the login form.

## Prerequisites

For help getting started with a new Angular app, check out the [Angular CLI](https://cli.angular.io/).

For existing apps, follow these steps to begin using Knora-ui authentication.

## Install

You can use either the npm or yarn command-line tool to install packages. Use whichever is appropriate for your project in the examples below.

### Yarn

`$ yarn add @knora/authentication`

### NPM

`$ npm install @knora/authentication`

### Dependencies

This module has the following package dependencies, which you also have to install.

-   @angular/common@8.0.3
-   @angular/core@8.0.3
-   @angular/animations@8.0.3
-   @angular/cdk@8.1.4
-   @angular/material@8.1.4
-   @knora/action@9.5.0
-   @knora/core@9.5.0
-   moment@2.22.2

### Required version of Knora: 10.0.0

## Setup

In your AppModule you have to define the following providers:

```Javascript
import { ErrorInterceptor, JwtInterceptor, KuiAuthenticationModule } from '@knora/authentication';

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        BrowserModule,
        HttpClientModule,
        RouterModule,
        KuiCoreModule.forRoot({
            name: 'Knora-ui Demo App',
            api: environment.api,
            media: environment.media,
            app: environment.app,
        }),
        KuiAuthenticationModule
    ],
    providers: [
        {provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true}
    ]
})
export class AppModule { }
```

## Usage of KuiAuthGuard

The @knora/authentication module contains a guard class which can be used in a restricted app component and will redirect a guest user to the login page. It can be used in the app routing as follow:

```Javascript
import { AuthGuard } from '@knora/authentication';

const appRoutes: Routes = [
    {
        path: '',
        component: AppComponent,
        canActivate: [AuthGuard]
    },
    {
        path: 'login',
        component: LoginFormComponent
    }
]
```

## Usage of kui-login-form

The `LoginFormComponent` in the app needs in principle only the `<kui-login-form></kui-login-form>` tag. Additional it's also possible to define e navigation route, where the user will be redirected after successful login: `<kui-login-form [navigate]="'/dashboard'"></kui-login-form>`
npm package: @knora/viewer
Description: Knora ui module: viewer
Latest version: 10.0.1

# Knora-ui viewer module

[![npm (scoped)](https://img.shields.io/npm/v/@knora/viewer.svg)](https://www.npmjs.com/package/@knora/viewer)

This module is part of [Knora-ui](https://github.com/dasch-swiss/knora-ui) modules, developed by the team at the [Data and Service Center for Humanities DaSCH](http://dasch.swiss).

The viewer module contains object components to show the resource class representations from Knora, the gui-elements for the property values and different kind of view frameworks.

**ATTENTION: Knora-ui viewer is under development!**

## Prerequisites

For help getting started with a new Angular app, check out the [Angular CLI](https://cli.angular.io/).

For existing apps, follow these steps to begin using Knora-ui viewer.

## Install

You can use either the npm or yarn command-line tool to install packages. Use whichever is appropriate for your project in the examples below.

### Yarn

`$ yarn add @knora/viewer`

### NPM

`$ npm install --save @knora/viewer`

### Dependencies

This module has the following package dependencies, which you also have to install.

-   @angular/common@8.0.3
-   @angular/core@8.0.3
-   @angular/animations@8.0.3
-   @angular/cdk@8.1.4
-   @angular/material@8.1.4
-   @angular/flex-layout@8.0.0-beta.27
-   @knora/action@10.0.1
-   @knora/core@10.0.1
-   @knora/api@0.2.0

### Required version of Knora: 12.0.0

## Setup

Import the viewer module in your app.module.ts and add it to the NgModules's imports:

```typescript
import { AppComponent } from './app.component';
import { KuiViewerModule } from '@knora/viewer';

@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        KuiViewerModule
    ],
    providers: [ ],
    bootstrap: [AppComponent]
})
export class AppModule {
}
```

<!--
## Components
This module contains 3 main components:

### Resource
It manages the resource of an ontology for the view.

### Property
It manages the properties for the view (displaying data in function of their type like date, text, integer, boolean etc.).

### View
It builds views by combining resource and property components in a specific layout.


<!-- With this module, you can use the following components:
()


## resource
  - stillImage
  - movingImage
  - audio
  - ddd (3d / rti)
  - text (long texts stored in eXist-db)
  - document (various types of text documents like PDF, Word etc...)
  - collection
  - region
  - annotation
  - linkObj
  - object

## property
  - textValue
    - textValueAsString
    - textValueAsHtml
    - textValueAsXml
  - textfileValue
  - dateValue
  - integerValue
  - colorValue
  - decimalValue
  - uriValue
  - booleanValue
  - geometryValue
  - geonameValue
  - intervalValue
  - listValue
  - linkValue
  - externalResValue

## view
  - listView
  - gridView
  - tableView
  - resourceView
  - compareView
  - graphView
  - propertiesView -->
npm package: @knorm/knorm
Description: A JavaScript ORM written using ES6 classes
Author: Joel Mukuthu
Latest version: 3.0.1

# @knorm/knorm

[![npm version](https://badge.fury.io/js/%40knorm%2Fknorm.svg)](https://badge.fury.io/js/%40knorm%2Fknorm)
[![dependency status](https://david-dm.org/knorm/knorm.svg)](https://david-dm.org/knorm/knorm)

This package contains Knorm's core classes.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).
npm package: @knorm/paginate
Description: Pagination plugin for knorm
Author: Joel Mukuthu
Latest version: 3.0.1

# @knorm/paginate

[![npm version](https://badge.fury.io/js/%40knorm%2Fpaginate.svg)](https://badge.fury.io/js/%40knorm%2Fpaginate)
[![dependency status](https://david-dm.org/knorm/paginate.svg)](https://david-dm.org/joelmukuthu/@knorm/paginate)

Knorm plugin that adds pagination features when fetching rows from the database.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).
npm package: @knorm/postgres
Description: Postgres plugin for knorm
Author: Joel Mukuthu
Latest version: 3.0.1

# @knorm/postgres

[![npm version](https://badge.fury.io/js/%40knorm%2Fpostgres.svg)](https://badge.fury.io/js/%40knorm%2Fpostgres)
[![dependency status](https://david-dm.org/knorm/postgres.svg)](https://david-dm.org/knorm/postgres)

Postgres plugin for Knorm that enables connecting to and running queries against PostgreSQL.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).
npm package: @knorm/relations
Description: Relations plugin for @knorm/knorm
Author: Joel Mukuthu
Latest version: 4.0.0

# @knorm/relations

[![npm version](https://badge.fury.io/js/%40knorm%2Frelations.svg)](https://badge.fury.io/js/%40knorm%2Frelations)
[![dependency status](https://david-dm.org/knorm/relations.svg)](https://david-dm.org/joelmukuthu/@knorm/relations)

Knorm plugin that adds ability to fetch data from multiple tables via SQL joins.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).
npm package: @knorm/soft-delete
Description: Soft-delete plugin for @knorm/knorm
Author: Joel Mukuthu
Latest version: 3.0.0

# @knorm/soft-delete

[![npm version](https://badge.fury.io/js/%40knorm%2Fsoft-delete.svg)](https://badge.fury.io/js/%40knorm%2Fsoft-delete)
[![dependency status](https://david-dm.org/knorm/soft-delete.svg)](https://david-dm.org/knorm/soft-delete)

Knorm plugin that enables soft-deletion and automates working with `deleted` and
`deleted_at` table fields.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).
npm package: @knorm/timestamps
Description: Timestamps plugin for @knorm/knorm
Author: Joel Mukuthu
Latest version: 3.0.0

# @knorm/timestamps

[![npm version](https://badge.fury.io/js/%40knorm%2Ftimestamps.svg)](https://badge.fury.io/js/%40knorm%2Ftimestamps)
[![build status](https://travis-ci.org/knorm/timestamps.svg?branch=master)](https://travis-ci.org/knorm/timestamps)
[![coverage status](https://coveralls.io/repos/github/knorm/timestamps/badge.svg?branch=master)](https://coveralls.io/github/knorm/timestamps?branch=master)
[![dependency status](https://david-dm.org/knorm/timestamps.svg)](https://david-dm.org/knorm/timestamps)

Knorm plugin that automates working with `created_at` and `updated_at` table
fields.

## [Documentation](https://knorm.netlify.com/plugins/timestamps.html)

View the docs on @knorm/knorm's documentation site
[here](https://knorm.netlify.com/plugins/timestamps.html).
npm package: @knorm/to-json
Description: toJSON plugin for @knorm/knorm
Author: Joel Mukuthu
Latest version: 3.0.0

# @knorm/to-json

[![npm version](https://badge.fury.io/js/%40knorm%2Fto-json.svg)](https://badge.fury.io/js/%40knorm%2Fto-json)
[![dependency status](https://david-dm.org/knorm/to-json.svg)](https://david-dm.org/knorm/to-json)

Knorm plugin that adds a
[toJSON](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON()_behavior)
method to Knorm's Model class.

## Documentation

Visit the [documentation site](https://knorm.netlify.app).