open-index/open-npm huggingface dataset:
npm package: @nexefy/auth-client
Description: Nexefy Auth OAuth 2.1 client SDK with PKCE support
Author: Nexefy
Latest version: 1.0.8

# @nexefy/auth-client

Nexefy Auth OAuth 2.1 client SDK with PKCE support for browser-based applications.

## Installation

```bash
npm install @nexefy/auth-client
# or
pnpm add @nexefy/auth-client
```

## Quick Start

```typescript
import { NexefyAuthClient } from '@nexefy/auth-client'

const authClient = new NexefyAuthClient({
  authUrl: 'https://auth.nexefy.com',
  clientId: 'your-client-id',
  redirectUri: window.location.origin + '/auth/callback',
  scopes: ['openid', 'profile', 'email'],
})

// Sign in
await authClient.beginAuthentication()

// Handle callback
await authClient.handleCallback()

// Get user
const user = authClient.userInfo

// Check auth status
const isAuthenticated = authClient.isAuthenticated

// Sign out
await authClient.signOut()
```

## Documentation

See the [full documentation](https://github.com/nexefy/nexefy-insights-api/tree/main/docs) for detailed usage instructions.

## Features

- OAuth 2.1 Authorization Code Flow with PKCE
- Automatic token refresh
- Type-safe API
- Resource server integration with optional organization context
- Zero dependencies (uses Web Crypto API and native fetch)

## Using with Resource Servers

If you're making API calls to protected resource servers that require organization context:

```typescript
import { NexefyAuthClient, BaseResourceServer } from '@nexefy/auth-client'

const authClient = new NexefyAuthClient({
  authUrl: 'https://auth.nexefy.com',
  clientId: 'your-client-id',
  organisationSlug: 'your-org-slug',  // Required for resource servers
  redirectUri: window.location.origin + '/auth/callback',
})

// Extend BaseResourceServer for your API
class MyApiServer extends BaseResourceServer {
  async getData() {
    return this.get('/api/data')  // Automatically includes organisation_slug
  }
}

const api = new MyApiServer('https://api.example.com', authClient, 'your-org-slug')
```

## License

MIT
npm package: @nexefy/auth-react
Description: React hooks for Nexefy Auth SDK
Author: Nexefy
Latest version: 1.1.0

# @nexefy/auth-react

React hooks for Nexefy Auth SDK - OAuth 2.1 authentication made easy.

## Installation

```bash
npm install @nexefy/auth-react @nexefy/auth-client
# or
pnpm add @nexefy/auth-react @nexefy/auth-client
```

## Quick Start

```tsx
import { createNexefyClient } from '@nexefy/auth-client'
import { NexefyProvider, useNexefyAuth } from '@nexefy/auth-react'

// Create client
const nexefy = createNexefyClient({
  authUrl: 'https://auth.nexefy.com',
  clientId: 'your-client-id',
  organisationSlug: 'your-org',
  resourceServers: {
    insights: 'https://platform.server.nexefy.com/functions/v1/insights'
  }
})

// Wrap your app
function App() {
  return (
    <NexefyProvider client={nexefy}>
      <YourApp />
    </NexefyProvider>
  )
}

// Use in components
function YourApp() {
  const { user, isAuthenticated, signInWithRedirect, signOut } = useNexefyAuth()

  if (!isAuthenticated) {
    return <button onClick={() => signInWithRedirect()}>Sign In</button>
  }

  return (
    <div>
      <h1>Welcome {user?.name}</h1>
      <button onClick={() => signOut()}>Sign Out</button>
    </div>
  )
}
```

## Hooks

### `useNexefyAuth()`

Main authentication hook.

```tsx
const {
  user,
  session,
  isLoading,
  isAuthenticated,
  signInWithRedirect,
  signOut
} = useNexefyAuth()
```

### `useNexefyUser()`

User-specific data hook.

```tsx
const {
  user,
  isLoading,
  organisationSlug,
  teams,
  role
} = useNexefyUser()
```

### `useInsights()`

Query hook for Insights API.

```tsx
const { data, error, isLoading, refetch } = useInsights(
  '/serve-data/standard',
  { query_type: 'sessions_overview' },
  { enabled: true, refetchInterval: 30000 }
)
```

## License

MIT
npm package: @nexefy/insights-client
Description: Nexefy Insights API client with type-safe endpoints
Author: Nexefy
Latest version: 1.0.4

# @nexefy/insights-client

Type-safe client for the Nexefy Insights API.

## Installation

```bash
npm install @nexefy/insights-client @nexefy/auth-client
```

## Usage

```typescript
import { createNexefyClient } from '@nexefy/auth-client'
import { createInsightsClient } from '@nexefy/insights-client'

// Create auth client
const authClient = createNexefyClient({
  authUrl: 'https://auth.nexefy.com',
  clientId: 'your-client-id',
  organisationSlug: 'your-org'
})

// Create insights client
const insights = createInsightsClient({
  apiUrl: 'https://api.nexefy.com/insights',
  authClient,
  organisationSlug: 'your-org'
})

// Use type-safe methods
const teams = await insights.getUserTeams()
const progress = await insights.getTeamProgress('app-slug')
```

## License

MIT
npm package: @nexellia/core-lib
Description: JavaScript Nexellia library.
Latest version: 1.6.6

# JavaScript Data Primitives Library for Nexellia

**PLEASE NOTE: This project is under heavy development and is not
production ready**

Based on the popular [Bitcore library](https://github.com/bitpay/bitcore)
developed by BitPay for the Bitcoin and [Kaspacore](https://github.com/aspectron/kaspa-core-lib)
developed by ASPECTRON Inc., Nexelliacore library provides primitives for
interfacing with the Nexellia network.

## Get Started

```sh
git clone https://github.com/nexellia-network/node-nexellia-core-lib
```

Adding Nexelliacore to your app's `package.json`:

```json
"dependencies": {
    "nexellia/nexelliacore-lib": "*"
}
```

## Nexellia adaptation

Nexelliacore library provides primitives such as Transaction and UTXO
data structures customized for use with the next-generation
high-performance Nexellia network.

## Documentation

The complete docs are hosted here: [bitcore documentation](https://github.com/bitpay/bitcore).
There's also a [bitcore API reference](https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md)
available generated from the JSDocs of the project, where you'll find
low-level details on each bitcore utility.

## Building the Browser Bundle

To build a nexelliacore-lib full bundle for the browser:

```sh
gulp browser
```

This will generate files named `nexelliacore-lib.js` and
`nexelliacore-lib.min.js`.

# License

Code released under [the MIT license](https://github.com/bitpay/bitcore/blob/master/LICENSE).

Bitcore - Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark
maintained by BitPay, Inc.

Kaspacore - Copyright 2020 ASPECTRON Inc.

Nexelliacore - Copyright 2023 Nexellia Developers.
npm package: @nexellia/process-list
Description: Cross-platform method to receive the list of the launched processes
Author: Dmitry Tsvettsikh
Latest version: 2.0.2

<p align='center'>
  <img src='logo.png' height='250' width='483' alt='logo' />
  <p align='center'>Cross-platform native method to receive the list of the launched processes</p>
</p>

[![Build Status](https://travis-ci.org/reklatsmasters/node-process-list.svg?branch=master)](https://travis-ci.org/reklatsmasters/node-process-list) [![Build status](https://ci.appveyor.com/api/projects/status/oy0sbnie2a0d5hou?svg=true)](https://ci.appveyor.com/project/ReklatsMasters/node-process-list) [![npm](https://img.shields.io/npm/v/process-list.svg)](https://npmjs.org/package/process-list) [![license](https://img.shields.io/npm/l/process-list.svg)](https://npmjs.org/package/process-list) [![downloads](https://img.shields.io/npm/dm/process-list.svg)](https://npmjs.org/package/process-list) 
[![Greenkeeper badge](https://badges.greenkeeper.io/reklatsmasters/node-process-list.svg)](https://greenkeeper.io/)

### Install

```bash
npm i process-list
# or
yarn add process-list
```

It's that easy! npm will download one of the [prebuilt](https://github.com/reklatsmasters/node-process-list/releases/latest) binaries for your OS. If you need to build `process-list`, see [node-gyp](https://npmjs.org/package/node-gyp) for more details.

### Supported OS

* `Windows` Windows 7+, Windows Server 2008 R2+
* `Linux` any Linux-based distributives
* `OS X` *Soon...*

### Usage
```js
const { snapshot } = require("process-list");

const tasks = await snapshot('pid', 'name');
console.log(tasks);

// output
// [{
//    name: "1.exe",
//    pid: 1234,
// }, ... ]
```

### API

##### `snapshot(...field: String): Promise<[]Object>`
Returns the list of the launched processes.

##### `allowedFields: []String`
List of allowed fields.

* `pid: Number` - process pid
* `ppid: Number` - parent process pid
* `name: String` - process name (title)
* `path: String` - full path to the process binary file
* `threads: Number` - threads per process
* `owner: String` - the owner of the process
* `priority: Number` - an os-specific process priority
* `cmdline: String` - full command line of the process
* `starttime: Date` - the process start date / time
* `vmem: String` - virtual memory size in bytes used by process
* `pmem: String` - physical memory size in bytes used by process
* `cpu: Number` - cpu usage by process in percent
* `utime: String` - amount of time in ms that this process has been scheduled in user mode
* `stime: String` - amount of time that in ms this process has been scheduled in kernel mode

## License

MIT, Copyright &copy; 2014 - 2019 Dmitry Tsvettsikh
npm package: @nexes/mongo-knex
Description: tbc
Author: Ghost Foundation
Latest version: 0.5.0
Deprecated: Package has been moved to @tryghost/mongo-knex

# Mongo Knex

## Installation
1. Make sure that `gstenv` is green. See [Dev Environment](https://github.com/TryGhost/Team/blob/master/Engineering/Dev%20Environment.md) for docs.
2. `git clone` this repo & `cd` into it as usual
3. Run `yarn` to install top-level dependencies.

## Run
- Use: `yarn dev`
- View: [http://localhost:9999](http://localhost:9999)

## Test
- `yarn lint` run just eslint
- `yarn test` run lint && tests
- `NODE_ENV=testing-mysql yarn test`
  - Manual database creation is currently required.

## Debug

`DEBUG=mongo-knex:*`
`DEBUG=mongo-knex:converter`
`DEBUG=mongo-knex:converter-extended`

## Config

`config.[env].json`

# Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the [MIT license](LICENSE).
npm package: @nexes/mongo-utils
Description: ## Install
Author: Ghost Foundation
Latest version: 0.3.1
Deprecated: Package has been moved to @tryghost/mongo-utils

# Mongo Utils

## Install

`npm install @nexes/mongo-utils --save`

or

`yarn add @nexes/mongo-utils`


## Usage


## Develop

1. `git clone` this repo & `cd` into it as usual
2. Run `yarn` to install top-level dependencies.


## Run

- `yarn dev`


## Test

- `yarn lint` run just eslint
- `yarn test` run lint and tests


## Publish

- `yarn ship`


# Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the [MIT license](LICENSE).
npm package: @nexes/nql
Description: tbc
Author: Ghost Foundation
Latest version: 0.7.0
Deprecated: Package has been moved to @tryghost/nql

# NQL
The aim is putting together various nql related projects into single, easy to use api. It allows:
 - parsing of NQL expression into Mongo JSON (using [nql-lang](https://github.com/NexesJS/NQL-Lang))
 - enhancing a database query with additional filters based on provided expression (using [mongo-knex](https://github.com/NexesJS/mongo-knex))
 - querying JSON objects with NQL expressions (using [mingo](https://github.com/kofrasa/mingo))

## Installation
Using npm:
```
npm install @nexes/nql --save
```
or with yarn:
```
yarn add @nexes/nql
```

## Example
A simple NQL expression could have following form: `featured:true+slug:['photo', 'video']`
When parsing it to Mongo JSON with `nql(expression).parse()` the output would be:
```javascript
{
    $and: [
        {
            featured: true
        },
        {
            slug: {
                $in: ['photo', 'video']
            }
        }
    ]
}
```

If the same expression would be applied to Knex [QueryBuilder](https://knexjs.org/#Builder) object, the following SQL where statement would be generated:
```sql
where (`posts`.`featured` = true and `posts`.`slug` in ('photo', 'video'))
```

## Usage
Some common usages:
```javascript
nql('id:3').toJSON();
\\ => {id:3}
```

```javascript
nql('id:3').queryJSON({test:true, id:3});
\\ => true
```

```javascript
nql('tags:test', {expansions: {tags: 'tags.slug'}}).toJSON();
\\ => {'tags.slug': test}
```
```javascript
nql('primary_tag:[photo]', {expansions: [
      {key: 'primary_tag', replacement: 'tags.slug', expansion: 'order:0'}
  ]})
\\ => {$and: [{'tags.slug': {$in: ['photo']}}, {order: 0}]}
```

Advanced usage example:

```javascript
// Builds SQL where statement on top of knex Query Builder including:
//  - combining custom filter 'primary_tag:test' with overrides filter and defaults
//  - expanding shortcut property 'primary_tag' into 'tags.slug' and adding 'posts_tags.sort_order:0' filter
//  - builds a where statement with related `tags` table through manyToMany relation
const query = nql('primary_tag:test', {
    relations: {
        tags: {
            tableName: 'tags',
            type: 'manyToMany',
            joinTable: 'posts_tags',
            joinFrom: 'post_id',
            joinTo: 'tag_id'
        }
    },
    expansions: [
        {
            key: 'primary_tag',
            replacement: 'tags.slug',
            expansion: 'posts_tags.sort_order:0'
        }
    ],
    overrides: 'status:published',
    defaults: 'featured:true'
});

query
    .querySQL(knex('posts'))
    .select();
```

## Test
- `yarn lint` run just eslint
- `yarn test` run lint && tests

# Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
npm package: @nexes/nql-lang
Description: tbc
Author: Ghost Foundation
Latest version: 0.1.0
Deprecated: Package has been moved to @tryghost/nql-lang

# NQL Lang

## Installation
1. Make sure that `gstenv` is green. See [Dev Environment](https://github.com/TryGhost/Team/blob/master/Engineering/Dev%20Environment.md) for docs.
2. `git clone` this repo & `cd` into it as usual
3. Run `yarn` to install top-level dependencies.

## Run
- Use: `yarn dev`
- View: [http://localhost:9999](http://localhost:9999)

## Test
- `yarn lint` run just eslint
- `yarn test` run lint && tests

# Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the [MIT license](LICENSE).
npm package: @nexeth/solidity-docgen
Description: `@nexeth/solidity-docgen` is a tool for generating formatted Solidity Smart Contract documentation programmatically.
Author: mfbevan
Latest version: 0.1.0

# @nexeth/solidity-docgen

`@nexeth/solidity-docgen` is a tool for generating formatted Solidity Smart Contract documentation programmatically.

## Getting Started

### Install bun

If you haven't already, install bun. Follow the directions [here](https://github.com/oven-sh/bun)

### Linting

To lint your code:

```
bun lint
```

### Testing

To run tests:

```
bun test
```

## Contributing

If you have suggestions, bug reports, or would like to contribute to this project template, please open an issue or submit a pull request on the GitHub repository.

## License

This project is licensed under the MIT License - see the LICENSE file for details.