open-index/open-npm huggingface dataset:
npm package: @ibro-ai/vcon
Description: Villain-Con (VCON) — Minions Protocol bootstrapper
Latest version: 0.2.0

# Villain-Con (VCON) — CLI v0

Spec in → Canon out → (optioneel) Apply → Altijd report.

## Install (dev)
```bash
npm i
npm run dev -- --help
```

## Build
```bash
npm run build
node dist/cli.js --help
```

## Commands
- `vcon init` — create minimal VCON workspace scaffolding
- `vcon new <kind> <name> [--namespace <ns>] [--apply]` — generate a spec + scaffold
- `vcon apply <spec.yaml> [--dry-run]` — generate/apply from spec
- `vcon validate <spec.yaml>` — validate spec (schema + Minions Protocol mapping)

## Outputs
- Governance scaffold: `/ai/governance/*` (if missing)
- Registry: `/registry/artifacts.ndjson`
- Reports: `/reports/YYYY-MM-DD/<action>/prompt.md` + `report.md`

## Minions Protocol mapping
- agent → Minion
- project → Master Plan
- repo → Blueprint
- server → Lair
- container → Capsule
npm package: @ibrokethat/auto-index
Description: auto index
Author: si@ibrokethat.com
Latest version: 1.0.0

Auto Index

  Auto generate index files to reduce boiler plate code.

  Use case: commonjs require-all() type imports for ES6 modules

Install

  npm install @ibrokethat/auto-index

Usage

  //  add the following to .gitignore
  auto.index.js


  //   assume an app structure of
  app/
    entities/
      media.js
      user.js
      etc...
    server.js


  //  set appPath in your config.yaml, json, etc
  appPath: app


  //  create a file to indicate use of index generation
  //  the filename contains a reference to the export type of the modules
  //  to be indexed
  touch app/entities/auto.index.named
  OR
  touch app/entities/auto.index.default


  //  at the very top of server.js
  import '@ibrokethat/auto-index';


  //  then elsewhere
  import * as entities from './entities/auto.index';


  //  entities is now an object containing the exports of the files
  entities.media;
  entities.user;



Notes

  all files in a directory must have either named exports OR one default export



Test

  git clone git@github.com/ibrokethat/auto-index
  cd auto-index
  npm i
  npm test


License

(The MIT License)

Copyright (c) 2015 Simon Jefford si@ibrokethat.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @ibrokethat/curry
Description: super curry
Author: si@ibrokethat.com
Latest version: 1.0.3

# Super Curry

  Infinite curry


## Install

  ```
  npm install @ibrokethat/curry

  ```


## Usage

  ```
  import curry from '@ibrokethat/curry';

  let args4 = (a, b, c, d) => a + b + c + d;

  let fn = curry(args4);

  let fn1 = fn(1, 2);

  let result = fn1(3, 4);

  console.log(result); // -> 10

  ```

## Test

  ```
  git clone git@github.com/ibrokethat/super-curry
  cd super-curry
  npm i
  npm test
  ```


## License

(The MIT License)

Copyright (c) 2015 Simon Jefford <si@ibrokethat.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the 'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @ibrokethat/factory
Description: factories the functional way
Author: si@ibrokethat.com
Latest version: 1.0.3

# Super Factory

  Functional factories


## Install

  ```
  npm install @ibrokethat/super-factory

  ```


## Usage

  ```
  import factory from '@ibrokethat/super-factory';

  let items = new Map([
    [(x) => x === 1, (x) => x],
    [(x) => x === 2, (x) => x * x],
    [(x) => x === 3, (x) => x * x * x]
  ]);

  let fac = factory(items);

  console.log(fac(1)); // -> 1
  console.log(fac(2)); // -> 4
  console.log(fac(1)); // -> 27

  ```

## Test

  ```
  git clone git@github.com/ibrokethat/super-factory
  cd super-factory
  npm i
  npm test
  ```


## License

(The MIT License)

Copyright (c) 2015 Simon Jefford <si@ibrokethat.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the 'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @ibrokethat/iter
Description: iteration
Author: si@ibrokethat.com
Latest version: 1.0.4

# Super Iter

  Take the best ideas from python's itertools, mochikit iter, ramdas currying, and all the lovely ES6 iterable protocols and what do you get?

  Super Iteration...



## Install

  ```
  npm install @ibrokethat/super-iter

  ```


##  Usage

  ```
  import {ifilter, imap, sum, takeWhile} from '@ibrokethat/super-iter';

  let a1 = [1, 2, 3, 4, 5];
  let a2 = [10, 20, 30, 40, 50];
  let a3 = [100, 200, 300, 400, 500];

  let sumAll = imap((...args) => sum(args));
  let evens = ifilter(v => v%2 === 0);
  let less250 = takeWhile(v => v < 250);

  let v = less250(evens(sumAll(a1, a2, a3)));

  console.log(v); // -> [222]

  ```

## Test

  ```
  git clone git@github.com/ibrokethat/super-iter
  cd super-iter
  npm i
  npm test
  ```

## Todo


  - Move build and test commands into .bin as they are getting too verbose to fit package.json nicely.
  - Have the tests trigger the builds
  - Add githooks to trigger tests pre commit
  - build for browserify



## License

(The MIT License)

Copyright (c) 2015 Simon Jefford <si@ibrokethat.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the 'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
npm package: @ibrokethat/super-factory
Description: super factories the functional way
Author: si@ibrokethat.com
Latest version: 1.0.0

# Super Factory

  Functional factories


## Install

  ```
  npm install @ibrokethat/super-factory

  ```


## Usage

  ```
  import factory from '@ibrokethat/super-factory';

  let items = new Map([
    [(x) => x === 1, (x) => x],
    [(x) => x === 2, (x) => x * x],
    [(x) => x === 3, (x) => x * x * x]
  ]);

  let fac = factory(items);

  console.log(fac(1)); // -> 1
  console.log(fac(2)); // -> 4
  console.log(fac(1)); // -> 27

  ```

## Test

  ```
  git clone git@github.com/ibrokethat/super-factory
  cd super-factory
  npm i
  npm test
  ```


## License

(The MIT License)

Copyright (c) 2015 Simon Jefford <si@ibrokethat.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the 'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.