open-index/open-npm huggingface dataset:
npm package: @statikly-stack/core
Description: No hassle full stack framework, for blog/static/content sites, amazing for prototype and build internal tools and seo optimize. Provide alternative for writing frontend "the old way", more and more hype is growing on server side ui, like next.js and remix
Author: Nir Adler
Latest version: 0.0.12

# statikly core

```js
const { server } = require('@statikly-stack/core');
const options = {
    logLevel: 'debug',
};
const host = 'localhost';
const port = 3000;
const app = await server(options);
await app.ready();
await app.listen({ port, host });
```
npm package: @statikly-stack/router
Description: file system router
Author: Nir Adler
Latest version: 0.0.12

# statikly-router

file system router, the router will translate folder structure into routes.

generated route for `pages/todo/[id].ejs` will be `/pages/todo/:id`

### Installation

```sh
npm i statikly-router
```

### Usage

```js
const { Router } = require('statikly-router'); // import { Router } from "statikly-router"
const router = new Router({
    path: 'views',
});
const routes = await router.scan(); // => route[]
await router.build('api'); //create api/routes.json file to cache routes
```

Route:

```json
{
    "ejs": {
        "root": "/",
        "dir": "/pages/todo",
        "base": "[id].ejs",
        "ext": ".ejs",
        "name": "[id]",
        "cwd": ".../tests/views",
        "path": ".../tests/views/pages/todo/[id].ejs",
        "relative": "/pages/todo/[id].ejs",
        "url": "/pages/todo/:id"
    }
}
```

express usage example:

```js
//server.js
const express = require('express');
const { Router } = require('statikly-router');

const app = express();
const router = new Router({ path: 'routes', glob: '**/*.js' });

(async () => {
    try {
        console.time('scan');
        const routes = await router.scan();
        console.timeEnd('scan'); //scan: ~5ms
        for (const url in routes) {
            const route = require(routes[url].js.path);
            const methods = Object.keys(route);
            methods.forEach((method) => {
                app[method](url, route[method]);
            });
        }
        console.log('listen on localhost:4000');
        app.listen(4000);
    } catch (error) {
        console.log(error);
    }
})();
```

```js
//routes/home.js
module.exports = {
    get: async (req, res) => {
        return res.json({ page: 'home' });
    },
};
```

`curl localhost:4000/home`
npm package: @statikstack/generator-node
Description: Yeoman generator for Node projects.
Author: Statik
Latest version: 1.0.0

# generator-node

Generated by [Node Project Generator](https://github.com/statikstack/generator-node).

[![License][license-badge]][license-url]

> Yeoman generator for Node projects.

# Development

- Cloning the repo

```bash
$ git clone https://github.com/statikstack/generator-node.git
```

- Installing dependencies

```bash
$ npm install
```

- Running scripts

| Action                    | Usage          |
| ------------------------- | -------------- |
| Starting development mode | `npm start`    |
| Linting code              | `npm run lint` |

# Author

[Statik](https://twitter.com/statikstack)

# License

[MIT](https://github.com/statikstack/generator-node/blob/master/LICENSE)

[license-badge]: https://img.shields.io/github/license/statikstack/generator-node.svg
[license-url]: https://opensource.org/licenses/MIT
npm package: @stating/string-plugin
Description: Build nodes for stating which match an exact string
Author: Eli Doran
Latest version: 0.2.0

# @stating/string-plugin
[![Build Status](https://travis-ci.org/elidoran/node-stating-string-plugin.svg?branch=master)](https://travis-ci.org/elidoran/node-stating-string-plugin)
[![Dependency Status](https://gemnasium.com/elidoran/node-stating-string-plugin.png)](https://gemnasium.com/elidoran/node-stating-string-plugin)
[![npm version](https://badge.fury.io/js/%40stating%2Fstring-plugin.svg)](http://badge.fury.io/js/%40stating%2Fstring-plugin)
[![Coverage Status](https://coveralls.io/repos/github/elidoran/node-stating-string-plugin/badge.svg?branch=master)](https://coveralls.io/github/elidoran/node-stating-string-plugin?branch=master)

Build nodes for [stating](https://www.npmjs.com/package/stating) which match an exact string


## Install

```sh
npm install --save @stating/string-plugin
```


## Usage

```javascript
// returns a builder function
var buildBuilder = require('@stating/builder')

// build a new builder to add plugins to and use
var builder = buildBuilder()

// add this plugin
builder.use('@stating/string-plugin')

// now build a node to match the word "true"
var trueNode = builder.string('true')

// trueNode is a function which will wait for 4 bytes of input
// and then test if the next 4 bytes equals 'true'.
// it will control.fail() if it's not.
// it will control.next() if it is.

// add it to your stating instance:
stating.add('true', trueNode)

// create others and add them...
```


## Custom Success

When the node matches it increments `index` and calls `control.next()`.

Customize what it does by providing a function:

```javascript
var trueNode = builder.string('true', function() {
  this.someContextFunction()
  this.index = this.index + 4
  control.next(N.someNode, N.anotherNode)
})

stating.add('true', trueNode)
```

The contents of your function are inserted into the generated node function's "else" statement reached upon a successful match. Use the usual stating node args `control`, `N`, `context`.

Note, you must call `control.next()` with or without nodes to properly advance.

If you're going to test your success function then specify the standard stating parameters in the function declaration: `function(control, N, context)`. Up to you. The code is placed into another function so, for example, `control` is already defined there.


## Debugging Breakpoint

To add a debugging breakpoint wrap the generated function and set a breakpoint.

```javascript
function wrappedTrueNode(control, N, context) {
  // set a breakpoint here... then step into trueNode.
  trueNode.call(context, control, N, context)  
}

// add the wrapped version instead.
stating.add('true', wrappedTrueNode)
```


# [MIT License](LICENSE)
npm package: @statio/funk.js
Description: > 🔌 NodeJS Library for interacting with Funk - Statio's Realtime Service
Author: OfficialCRUGG
Latest version: 1.2.0

# funk.js

> 🔌 NodeJS Library for interacting with Funk - Statio's Realtime Service

## About this library

This Library is used for interacting with Funk - the realtime backend that powers Statio. Please note that this backend is not currently not intended to be used within products outside of Statio and no support is offered for outside use.

## Usage

### Creating a client

```js
import { Funk } from "funk.js";

const funk = new Funk();
```

### Subscribing to events

```js
funk.on("fullData", (data) => {
    console.log("Full data received for " + data.length + " stations");
});

funk.on("stationChanged", (station) => {
    console.log("Station change received for #" + station.id + " (" + station.listening + " listeners)");
});
```
npm package: @statio/vue-funk
Description: 🔌 Vue Plugin for interacting with Funk - Statio's Realtime Service
Author: OfficialCRUGG
Latest version: 1.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# vue-funk

🔌 Vue Plugin for interacting with Funk - Statio's Realtime Service

## About this library

This Library is used for interacting with Funk - the realtime backend that powers Statio. Please note that this backend is not currently not intended to be used within products outside of Statio and no support is offered for outside use.

## Notes

TypeScript definitions are still causing issues. Use `@ts-ignore` when needed. Refer to [#1](https://github.com/statiohq/vue-funk/issues/1) for more information.

## Installation

```
yarn add @statio/vue-funk
```

or

```
npm install @statio/vue-funk
```

## Usage

Refer to the [example project](https://github.com/statiohq/vue-funk/tree/main/example)
npm package: @statiolake/coc-eslint
Description: Eslint extension for coc.nvim
Author: statiolake@gmail.com
Latest version: 1.0.0

# coc-eslint

Eslint language server extension for [coc.nvim](https://github.com/neoclide/coc.nvim).

Forked from [coc-eslint](https://github.com/neoclide/coc-eslint).
npm package: @statiolake/coc-extension-auto-installer
Description: Auto-install coc extensions
Author: statiolake
Latest version: 0.9.0

# coc-extension-auto-installer

Manage coc extensions.

## Install

`:CocInstall @statiolake/coc-extension-auto-installer`

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-format-on-save
Description: Format on save in coc
Author: statiolake
Latest version: 0.5.4

# coc-format-on-save

Format on save in coc

## Install

`:CocInstall coc-format-on-save`

## Keymaps

`nmap <silent> <C-l> <Plug>(coc-coc-format-on-save-keymap)`

## Lists

`:CocList demo_list`

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-list-vim-select
Description: vim.ui.select() support backed by coc-list
Author: statiolake
Latest version: 0.1.0

# coc-list-vim-select

vim.ui.select() support backed by coc-list

## Install

`:CocInstall coc-list-vim-select`

## Keymaps

`nmap <silent> <C-l> <Plug>(coc-coc-list-vim-select-keymap)`

## Lists

`:CocList demo_list`

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-luals
Description: Lua extension using sumneko lua-language-server for coc.nvim
Author: statiolake
Latest version: 0.2.0

# coc-luals

Lua extension using sumneko lua-language-server for coc.nvim, forked from [https://github.com/xiyaowong/coc-sumneko-lua/commit/d16f5c6d682acb2f9c7fafd564aab82afeee4486].
npm package: @statiolake/coc-sort-json
Description: Sort JSON
Author: statiolake
Latest version: 0.1.0

# coc-sort-json

Sort JSON

## Install

`:CocInstall coc-sort-json`

## Keymaps

`nmap <silent> <C-l> <Plug>(coc-coc-sort-json-keymap)`

## Lists

`:CocList demo_list`

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-stylua
Description: stylua extension for coc.nvim.
Author: statiolake
Latest version: 0.3.0

# coc-stylua

[stylua](https://github.com/JohnnyMorganz/stylua) extension for coc.nvim.
Forked from [stylua-vscode](https://github.com/JohnnyMorganz/stylua/tree/master/stylua-vscode)

## Install

`:CocInstall coc-stylua`

## Features

- Format current buffer
- Format selection

You can add "lua" to `coc.preferences.formatOnSaveFiletypes` to format your code automatically on save.

## Extension Settings

You can specify the path of the stylua binary using the `stylua.styluaPath` setting.
By default, if this is null, the extension will download the binary and store it in its local storage.

You can use `stylua.configPath` to specify path to stylua.toml configuration file.

`stylua.checkUpdate` boolean value indicates whether to check out the latest stylua version.

## Commands

- `stylua.reinstall` Reinstall stylua

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-sumneko-lua
Description: Lua extension using sumneko lua-language-server for coc.nvim
Author: statiolake
Latest version: 0.0.46

# coc-sumneko-lua

Lua extension using sumneko lua-language-server for coc.nvim

This extension uses server binaries extracted from [`sumneko/vscode-lua`](https://github.com/sumneko/vscode-lua).
You can also custom the server path([`sumneko-lua.serverDir`](https://github.com/xiyaowong/coc-sumneko-lua/blob/main/settings.md#sumneko-luaserverdir)).

## Features

- Supported features by the server

  ![base](https://user-images.githubusercontent.com/47070852/133086083-a5357ca3-ada6-46d9-953f-f86026c137e4.png)

- Nvim lua development(check setting `sumneko-lua.enableNvimLuaDev`). Credit: [folke/neodev.nvim](https://github.com/folke/neodev.nvim)

  ![nvim-lua-dev](https://user-images.githubusercontent.com/47070852/133085674-2310670d-6129-4aac-86ea-0e475bf09b25.gif)

- Inlay-hints provided by coc.nvim.

## Install

`:CocInstall coc-sumneko-lua`

## [Settings (Click me)](settings.md)

## [Config Examples for Distributions (Currently only NixOS)](examples-for-distributions.md)

## Commands

| Command                                  | Description                                                                    |
| ---------------------------------------- | ------------------------------------------------------------------------------ |
| `sumneko-lua.install`                    | Install or update sumneko lua-language-server                                  |
| `sumneko-lua.restart`                    | Restart server                                                                 |
| `sumneko-lua.version`                    | Echo server version                                                            |
| `sumneko-lua.checkUpdate`                | Check update                                                                   |
| `sumneko-lua.showTooltip`                | Show tooltips                                                                  |
| `sumneko-lua.insertNvimLuaPluginLibrary` | Insert nvim lua plugin to current workspace library                            |
| `sumneko-lua.downloadNvimLuaTypes`       | **Download/Update** nvim lua types(Clone https://github.com/folke/neodev.nvim) |

## Credit

- [`fannheyward/coc-rust-analyzer`](https://github.com/fannheyward/coc-rust-analyzer)
- [`sumneko/vscode-lua`](https://github.com/sumneko/vscode-lua)
- [`josa42/coc-lua`](https://github.com/josa42/coc-lua)

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)
npm package: @statiolake/coc-vim-options
Description: Set vim options from coc-settings.json
Author: statiolake
Latest version: 0.3.3

# coc-vim-options

Set vim options from coc-settings.json

## Install

`:CocInstall coc-vim-options`

## Keymaps

`nmap <silent> <C-l> <Plug>(coc-coc-vim-options-keymap)`

## Lists

`:CocList demo_list`

## License

MIT

---

> This extension is built with [create-coc-extension](https://github.com/fannheyward/create-coc-extension)