open-index/open-npm huggingface dataset:
npm package: @indzz/nuxt-api-manager
Description: Auto-load API functions for nuxt component
Latest version: 1.0.2

# @indzz/nuxt-api-manager

## Setup
`nuxt.config.js`

```js
{
    buildModules: [
        // Simple usage
        '@indzz/nuxt-api-manager',
        // With options
        ['@indzz/nuxt-api-manager', { /* module options */ }],
    ]
}
```

### Using top level options
```js
{
    buildModules: [
        '@indzz/nuxt-api-manager',
    ],
    api: {
        /* module options */ 
        dir: 'api',
        excludes: ['index.js', 'base.js'],    
    }
}
```

## Options
### `dir`
Default: `'api'`

### `excludes`
Default: `['index.js', 'base.js']`

The files in the array will be excluded from registering to the API manager.

## Usage
This module will inject a global variable `$api` to your Vue instance, so you can call the API classes with `this.$api.apiClassName()`.

If `dir` option is set to `api`, put all your API files in the `./api/` folder.

For example, if you have defined `MyAccountApi` class, you can call it with `this.$api.myAccount()`. 
```js
// File: ./api/my_account.js
class MyAccountApi {
    submit() { }
}

export default MyAccountApi
``` 

If you export multiple classes from one file, you will get both `this.$api.user()` and `this.$api.role()`.
```js
// File: ./api/user.js
class UserApi {
    profile() { }
}

class RoleApi {
    list() { }
}

export { UserApi, RoleApi }
```
npm package: @ineedj/prettierrc
Description: INEEDJ config for Prettier 
Author: ineedjobtostartwork
Latest version: 3.0.0

<img width="1280" alt="PrettierrcMin" src="https://github.com/INeedJobToStartWork/INeedJobToStartWork/assets/97305201/74abcbb9-41e9-4f2f-8545-a341b92e853f">
<h1 align
="center">@ineedj/prettierrc</h1>
<p align="center"><b>My prettier config</b></p>

<hr/>

## Install
Ni
```bash copy
ni -D "@ineedj/prettierrc" prettier-plugin-packagejson
```
NPM

```bash copy
npm install -D "@ineedj/prettierrc" prettier-plugin-packagejson
```

PNPM

```bash copy
pnpm add -D "@ineedj/prettierrc" prettier-plugin-packagejson
```

Yarn

```bash copy
yarn add -D "@ineedj/prettierrc" prettier-plugin-packagejson
```

## Usage
`prettier.config.js`
```
import prettierConfig from "@ineedj/prettierrc/.prettierrc.json";

export default {
	...prettierConfig
};
```
npm package: @ineedj/tsconfig
Description: INEEDJ config for Typescript 
Author: ineedjobtostartwork
Latest version: 1.0.0

<img width="1280" alt="tsconfig" src="https://github.com/INeedJobToStartWork/INeedJobToStartWork/assets/97305201/ec9ff67c-aafb-418c-b38c-f3e72cbb23ca">
<h1 align="center">@ineedj/tsconfig</h1>
<p align="center"><b>My Typescript config</b></p>

<hr/>

## Install
Ni
```bash copy
ni -D "@ineedj/tsconfig"
```
NPM

```bash copy
npm install -D "@ineedj/tsconfig"
```

PNPM

```bash copy
pnpm add -D "@ineedj/tsconfig"
```

Yarn

```bash copy
yarn add -D "@ineedj/tsconfig"
```

## Usage
`tsconfig.json`
```
{
  "$schema": "http://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "outDir": "./dist",
    "baseUrl": "./src",
    "paths": {
      "@/*": ["*"]
    }
  },
  "include": ["src"],
  "extends": "@ineedj/tsconfig/base.json"
}

```
npm package: @ineedj/tsuprc
Description: INEEDJ config for tsup
Author: ineedjobtostartwork
Latest version: 1.0.0

![image](https://github.com/user-attachments/assets/a6abd113-79d4-45d3-ad2f-ceeab2ea5b60)

<h1 align="center">@ineedj/tsuprc</h1>
<p align="center"><b>My TSUP config</b></p>

<hr/>

## Install

Ni

```bash copy
ni -D "@ineedj/tsuprc"
```

NPM

```bash copy
npm install -D "@ineedj/tsuprc"
```

PNPM

```bash copy
pnpm add -D "@ineedj/tsuprc"
```

Yarn

```bash copy
yarn add -D "@ineedj/tsuprc"
```
npm package: @ineedthis/express
Description: ineedthis service wrapper for the express HTTP server
Author: George Pittarelli
Latest version: 0.2.2

# @ineedthis/express
[![npm version](https://badge.fury.io/js/%40ineedthis%2Fexpress.svg)](https://badge.fury.io/js/%40ineedthis%2Fexpress)

Implements an [ineedthis](https://github.com/gpittarelli/ineedthis)
service for [express](https://expressjs.com/).

## Example

```js
import {start, stop} from 'ineedthis';
import {createExpressService} from '@ineedthis/express';

const mySys = createExpressService('@myorg/webserver', {
  // number | (deps) => number | undefined (defaults to 3000)
  port: 3000,
  // read from env var example:
  // port: ({ '@company/my-config': config }) => config.PORT,

  // desired dependencies (same as ineedthis createService)
  dependencies: [ /*  */ ],

  // server: express server instance to decorate (add route handlers, etc.)
  // deps: object of fufilled dependencies
  setup(server, deps) {
    server.get('/', (req, res) => res.send('Hello, World!'));
  }
});

// Usage:
start(mySys).then(system => {
  // system is: { '@myorg/webserver': <express server> }

  // Server is now running!
  console.log(
    '@myorg/webserver running on port: ',
    system['@myorg/webserver'].address().port
  );

  stop(system).then(() => {
    // Server is now shutdown
  });
});

// Alternative usage:
export default mySys;
// and then run `ineedthis-run ./thisfile.js`
// or `ineedthis-debug ./thisfile.js` for hot-reloading
```

## License

Released under the MIT License. See the LICENSE file for full text

Copyright © 2017 George Pittarelli