open-index/open-npm huggingface dataset:
npm package: @kaviadarshan/claude-ignore
Description: Pre-session context optimizer for Claude Code — find what % of tokens you waste before you start
Latest version: 0.1.0

# claude-ignore

> Pre-session context optimizer for Claude Code.
> Tells you what % of your context window you're wasting before you start.

## Usage

```bash
npx claude-ignore .
npx claude-ignore /path/to/your/project
npx claude-ignore . --json > report.json
```

## What it does

Scans your project, cross-references your actual Claude Code session history,
identifies files Claude never reads but that bloat your context window,
and generates a .claudeignore suggestion with the exact token waste %.

Typical result: 25–40% of your context window is dead weight.

## Apply suggestions

```bash
cp suggested.claudeignore .claudeignore
```

## Privacy

100% local. Reads filesystem + ~/.claude/projects/ session logs.
Zero network requests. Nothing leaves your machine. Ever.

## License

MIT
npm package: @kavicastelo/node_template
Description: Node Server Template is a Node.js package that provides a simplified and configurable server setup for your applications. It includes common server configurations and utilities, making it easier to bootstrap your projects.
Author: kavicastelo
Latest version: 0.0.4

# Node Server Template

Node Server Template is a Node.js package that provides a simplified and configurable server setup for your
applications. It includes common server configurations and utilities, making it easier to bootstrap your projects.

## Features

- **Express.js Integration:** Easily create Express.js server instances.
- **Mongoose Database Connection:** Configure MongoDB database connection with Mongoose.
- **Advanced Configuration:** Choose between basic server setup or advanced configuration with custom HTTP server
  options.
- **API Endpoint Testing:** Sample API endpoint for testing purposes.
- **Model Creation:** Utility function to create Mongoose models easily.

## Installation

```bash
npm install @kavicastelo/node_template
```

## Usage

```javascript
const { configureServer, advancedConfigureServer, testGet, createModel } = require('my-server-template');

// Basic Server Configuration
configureServer('mongodb://localhost:27017/mydatabase', 3000);

// Advanced Server Configuration
advancedConfigureServer('mongodb://localhost:27017/mydatabase', 3000);

// Sample API Endpoint
testGet();

// Create Mongoose Model
const schemaDefinition = {
    // Define your schema fields here
};

const modelName = 'MyModel';
const MyModel = createModel(schemaDefinition, modelName);
```

## API Reference
### **configureServer(databaseUrl: string, serverPort: number)**
Basic server configuration with Express.js. Connects to the MongoDB database specified by `databaseUrl` and starts the server on the provided `serverPort`.

### **advancedConfigureServer(databaseUrl: string, serverPort: number)**
Advanced server configuration with custom HTTP server options. Connects to the MongoDB database specified by `databaseUrl` and starts the server on the provided `serverPort`.

### **testGet()**
Creates a sample GET API endpoint at the root ('/') for testing purposes.

### **createModel(schemaDefinition: object, modelName: string)**
Creates a Mongoose model with the given schema definition and model name.

## Contributing
Feel free to contribute to this project by opening issues or submitting pull requests. Your feedback and contributions are highly appreciated!

License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
npm package: @kavimukil/nestjs-ory-client
Description: Ory Client SDK
Author: Kavimukil
Latest version: 1.0.34

## @

### Building

To install the required dependencies and to build the typescript sources run:
```
npm install
npm run build
```

#### General usage

In your Nestjs project:


```
// without configuring providers
import { ApiModule } from '';
import { HttpModule } from '@nestjs/axios';

@Module({
    imports: [
        ApiModule,
        HttpModule
    ],
    providers: []
})
export class AppModule {}
```

```
// configuring providers
import { ApiModule, Configuration, ConfigurationParameters } from '';

export function apiConfigFactory (): Configuration => {
  const params: ConfigurationParameters = {
    // set configuration parameters here.
  }
  return new Configuration(params);
}

@Module({
    imports: [ ApiModule.forRoot(apiConfigFactory) ],
    declarations: [ AppComponent ],
    providers: [],
    bootstrap: [ AppComponent ]
})
export class AppModule {}
```

```
import { DefaultApi } from '';

export class AppComponent {
    constructor(private apiGateway: DefaultApi) { }
}
```

Note: The ApiModule a dynamic module and instantiated once app wide.
This is to ensure that all services are treated as singletons.

#### Using multiple swagger files / APIs / ApiModules
In order to use multiple `ApiModules` generated from different swagger files,
you can create an alias name when importing the modules
in order to avoid naming conflicts:
```
import { ApiModule } from 'my-api-path';
import { ApiModule as OtherApiModule } from 'my-other-api-path';
import { HttpModule } from '@nestjs/axios';

@Module({
  imports: [
    ApiModule,
    OtherApiModule,
    HttpModule
  ]
})
export class AppModule {

}
```


### Set service base path
If different than the generated base path, during app bootstrap, you can provide the base path to your service.

```
import { BASE_PATH } from '';

bootstrap(AppComponent, [
    { provide: BASE_PATH, useValue: 'https://your-web-service.com' },
]);
```
or

```
import { BASE_PATH } from '';

@Module({
    imports: [],
    declarations: [ AppComponent ],
    providers: [ provide: BASE_PATH, useValue: 'https://your-web-service.com' ],
    bootstrap: [ AppComponent ]
})
export class AppModule {}
```


#### Using @nestjs/cli
First extend your `src/environments/*.ts` files by adding the corresponding base path:

```
export const environment = {
  production: false,
  API_BASE_PATH: 'http://127.0.0.1:8080'
};
```

In the src/app/app.module.ts:
```
import { BASE_PATH } from '';
import { environment } from '../environments/environment';

@Module({
  declarations: [
    AppComponent
  ],
  imports: [ ],
  providers: [
    {
      provide: 'BASE_PATH',
      useValue: environment.API_BASE_PATH
    }
  ]
})
export class AppModule { }
```