open-index/open-npm huggingface dataset:
npm package: @klingen/lit-gen
Description: Make components with styles really fast. Almost like the angular cli. Just bad
Author: Martin Klingenberg
Latest version: 3.4.0

# Lit generator

## TODO

- Generere hele prosjekter
- Komponenter burde ha en index.ts-fil
- Muligheter for å generere moduler med, index.ts, components og services og kanskje en dependency-injection-løsning

A simple node-js script to make lit-components and simple service files

## What does this cli do

Generates scaffolding for a component with scss-styles. Does also make jest-capable tests. In many ways, this tool is very similar to the angular-cli

``` markdown
Usage: lit-gen [options] [command]

Tool for making lit-elements and services. Making a lit-project easy to build

Options:
  -V, --version               output the version number
  -h, --help                  display help for command

Commands:
  component [options] <name>
  service [options] <name>
  help [command]              display help for command

```


## Usage

**Create a component**
`lit-gen component component-name`

**Create a component in a subdirectory**
`lit-gen component path/to/component-name`

**Create a service**
`lit-gen service service-name`

**Create a service in a subdirectory**
`lit-gen service path/to/service-name`


## Project setup for scss

Using a webpack similar to this wold work well

[This repo provides a good starting-ground](https://github.com/klyngen/typescript-template)


``` javascript
const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");

module.exports = {
  devServer: {
    historyApiFallback: true,
  },
  mode: "development",
  entry: "./src/index.ts",
  output: {
    filename: "main.js",
    path: path.resolve(__dirname, "dist"),
  },
  module: {
    rules: [
      {
        test: /\.ts?$/,
        use: "ts-loader",
        exclude: /node_modules/,
      },
      {
        test: /\.css|\.s(c|a)ss$/,
        use: ["lit-scss-loader", "sass-loader"],
      },
    ],
  },
  resolve: {
    extensions: [".ts", ".js"],
  },
  plugins: [
    new HtmlWebpackPlugin({
      chunksSortMode: "none",
      template: "src/index.html",
    }),
  ],
};
```
npm package: @klingis/embed
Description: Kling Embeddable Checkout SDK
Author: Kling
Latest version: 0.1.0

# @klingis/embed

Embeddable checkout SDK for [Kling](https://kling.is) — a payments platform for Iceland.

## Install

```bash
npm install @klingis/embed
```

## Usage

```typescript
import { Kling } from '@klingis/embed';

// 1. Initialize
const kling = Kling.init({ locale: 'is' });

// 2. Open checkout (sessionId comes from your server via the Kling API)
const result = await kling.checkout({
  sessionId: 'cs_...',
  onSuccess: (res) => console.log('Paid!', res.paymentIntentId),
  onError: (err) => console.log('Failed', err.message),
  onCancel: () => console.log('Cancelled'),
});
```

## Options

### `Kling.init(options)`

| Option | Type | Default | Description |
|--------|------|---------|-------------|
| `locale` | `'is' \| 'en'` | auto-detect | Checkout UI language |
| `baseUrl` | `string` | `https://pay.kling.is` | Override checkout URL (for local dev) |
| `apiUrl` | `string` | `https://api.kling.is` | Override API URL |

### `kling.checkout(options)`

| Option | Type | Description |
|--------|------|-------------|
| `sessionId` | `string` | **Required.** Checkout session ID from the API |
| `onSuccess` | `(result) => void` | Called on successful payment |
| `onError` | `(error) => void` | Called on payment failure |
| `onCancel` | `() => void` | Called when user closes checkout |
| `showSuccessScreen` | `boolean` | Show success screen after payment (default: `true`) |

### CDN

You can also load the SDK via script tag:

```html
<script src="https://api.kling.is/v1/kling.js"></script>
<script>
  const kling = Kling.init();
  kling.checkout({ sessionId: 'cs_...' });
</script>
```

## License

MIT
npm package: @klingon/app
Description: A companion UI for your Angular CLI
Author: Wassim Chegham
Latest version: 0.2.0

# electron-quick-start

**Clone and run for a quick way to see Electron in action.**

This is a minimal Electron application based on the [Quick Start Guide](http://electron.atom.io/docs/tutorial/quick-start) within the Electron documentation.

**Use this app along with the [Electron API Demos](http://electron.atom.io/#get-started) app for API code examples to help you get started.**

A basic Electron application needs just these files:

- `package.json` - Points to the app's main file and lists its details and dependencies.
- `main.js` - Starts the app and creates a browser window to render HTML. This is the app's **main process**.
- `index.html` - A web page to render. This is the app's **renderer process**.

You can learn more about each of these components within the [Quick Start Guide](http://electron.atom.io/docs/tutorial/quick-start).

## To Use

To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer. From your command line:

```bash
# Clone this repository
git clone https://github.com/electron/electron-quick-start
# Go into the repository
cd electron-quick-start
# Install dependencies
npm install
# Run the app
npm start
```

Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt.

## Resources for Learning Electron

- [electron.atom.io/docs](http://electron.atom.io/docs) - all of Electron's documentation
- [electron.atom.io/community/#boilerplates](http://electron.atom.io/community/#boilerplates) - sample starter apps created by the community
- [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - a very basic starter Electron app
- [electron/simple-samples](https://github.com/electron/simple-samples) - small applications with ideas for taking them further
- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - an Electron app that teaches you how to use Electron
- [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - small demo apps for the various Electron APIs

## License

[CC0 1.0 (Public Domain)](LICENSE.md)
npm package: @klingon/ui
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.0-rc.0.
Latest version: 0.2.0

# KlingonA

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.0-rc.0.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @klintm/phase
Description: Micro-store/change emitter
Author: Klint Mane
Latest version: 1.0.1

<h1 align="center">
  <a href="#">
    <img src="https://cdn2.iconfinder.com/data/icons/harry-potter-solid-collection/60/36_-_Harry_Potter_-_Solid_-_Time_Turner-256.png" alt="phase" width="125px">
  </a>
  <br>
  phase
</h1>
<h3 align="center">Micro-store/change emitter</h3>
<br>

**phase** is a zero dependency micro-store/change emitter.

## Features

### It's extremely useful for:

- global stores
- local stores
- store change subscriptions

### It has:

- <1kb size
- zero dependencies
- advanced path access/subscriptions
- plugins (ex. react)

## Installation

### npm

`npm i @klintm/phase`

## Usage

```js
import Phase from "@klintm/phase";

// To create a new store an initial state object & an optional function returning actions are passed
const phase = Phase(
  {
    people: [
      {
        name: "Anon",
        age: 123
      }
    ],
    count: 0
  },
  state => ({
    increment: () => state.set("count", state("count") + 1),
    decrement: () => state.set("count", state("count") - 1)
  })
);

phase.set("count", 5); // Sets count to 5
phase.set("people[0].age", 25); // Path accessors for both objects and arrays
phase.set("people[0]['name']"); // Strings can be used as well

const ageChanged = (oldAge, newAge) => console.log(`You are: ${newAge}`);

phase.on("people[0].age", ageChanged); // Subscribe to changes
phase.off(ageChanged); // Remove subscriptions

phase.on(["people", "count"], console.log); // Subscribe to multiple changes

phase.actions.increment(); // Action dispatches
```
npm package: @klintm/phase-react
Description: React plugin for the phase micro-store/change emitter
Author: Klint Mane
Latest version: 1.0.1

<h1 align="center">
  <a href="#">
    <img src="https://cdn2.iconfinder.com/data/icons/harry-potter-solid-collection/60/36_-_Harry_Potter_-_Solid_-_Time_Turner-256.png" alt="phase" width="125px">
  </a>
  <br>
  phase-react
</h1>
<h3 align="center">React plugin for the <strong>phase</strong> micro-store/change emitter</h3>
<br>

**phase-react** is the react plugin for [phase](https://github.com/klintmane/phase).

## Features

Exports a hook that allows subscribing to a phase store and path.

## Installation

### npm

`npm i @klintm/phase-react`

## Usage

```js
import Phase from "@klintm/phase";
import { useStore } from "@klintm/phase-react";

const counter = Phase(
  {
    name: "",
    count: 0
  },
  state => ({
    changeName: n => state.set("name", n),
    increment: () => state.set("count", state("count") + 1),
    decrement: () => state.set("count", state("count") - 1)
  })
);

const Counter = () => {
  const state = useStore(counter);
  const { decrement, increment } = state.actions;

  return (
    <div>
      <div>Count: {state("count")}</div>
      <button onClick={decrement}>-</button>
      <button onClick={increment}>+</button>
    </div>
  );
};
```
npm package: @klippa/dochorizon-sdk
Description: ## NodeJS developer SDK for DocHorizon.
Author: Jeroen Bobbeldijk
Latest version: 1.0.4

# NodeJSSDK
This is the Node JS Developer SDK for DocHorizon.
The SDK offers multiple functions for accessing our API services within
your own application.  
&emsp;

## DocHorizon API Key
To fully utilize this SDK you will need to authenticate using a DocHorizon API key.
If you are interested in our services but do not have an API key yet, feel free to contact us [here](https://klippa.com/en/contact-en)

&emsp;

## Installation
install the SDK using npm.


```npm install @klippa/dochorizon-sdk```

or

```npm i @klippa/dochorizon-sdk```

&emsp;

## Usage
1. Authenticate using your api-key as follows:
   ```DocHorizon.authenticate({your-api-key})```
2. capture a document using the financial model (example):
   ```DocHorizon.financial.capture({your-document})```
3. If at any point you want to unauthenticate, use the following:
   ```DocHorizon.unauthenticate()```

&emsp;  
This SDK is organized into various services and can be accessed using the following syntax:
```DocHorizon.{service}```. To use a specific function from a service, call upon
that function using the following syntax: ```DocHorizon.{service}.{function}```.    
&emsp;  
For a basic overview of provided services within this SDK, refer to the following section. For a
more complete overview of **all** services and their functions and options, consult to the official
[DocHorizon SDK documentation] (coming soon!)

&emsp;

### Provided Services
The following services are included in this SDK:

- **Auth**: Provides functions for retrieving information about the used API-key
- **Document** **Capturing**: Provides generic functions regarding capturing models
- **Document** **Toolkit**: Offers multiple function to get information from documents,
  merge documents, split documents, and render documents as images
- **Financial**: Provides functions for using the financial capturing model
- **Generic**: Provides functions for using the generic capturing model
- **Prompt** **Builder**: Offers functions for using the prompt builder capturing model
- **Storage**: Provides the ability to save a file to DocHorizon storage


&emsp;

## Support
If you encounter any issues, please don't hesitate to contact us [here](https://klippa.com/en/contact-en).  
Alternatively, you can refer to the DocHorizon documentation [here](https://dochorizon.klippa.com/docs).  
&emsp;

## License
The MIT License (MIT)

&emsp;