open-index/open-npm huggingface dataset:
npm package: @mdbarr/dapper
Description: Schema-less LDAP and Radius Server for small organizations
Author: Mark Barr
Latest version: 0.1.2

<p align="center">
  <img src="https://github.com/mdbarr/dapper/blob/master/logo.svg" width="25%" title="Bow Tie by HeadsOfBirds from the Noun Project">
</p>

# dapper
Schema-less LDAP and Radius Server for small organizations

## Install
```bash
yarn install

# When not running in docker:
sudo setcap cap_net_raw,cap_net_bind_service=+ep `which node`
```
npm package: @mdbarr/ip-access-control
Description: Allow, Deny style access control for IP access validation
Author: Mark Barr
Latest version: 0.2.0

# ip-access-control
Allow, Deny style access control for IP access validation.

## Installation
```bash
# NPM
npm install --save @mdbarr/ip-access-control

# Yarn
yarn add @mdbarr/ip-access-control
```

## Usage
To create an access control validator for a given scheme:
```javascript
const IPAccessControl = require('@mdbarr/ip-access-control');

const accessValidator = new IPAccessControl({
  order: 'deny, allow',
  allow: [ '0.0.0.0/0' ],
  deny: []
});
```
To validate a request IP against the validator:
```javascript
const allowed = accessValidator.check('127.0.0.1'); // Boolean return value
```
npm package: @mdbarr/ldapjs
Description: LDAP client and server APIs
Author: Mark Cavage
Latest version: 1.1.0

# LDAPjs

[!['Build status'][travis_image_url]][travis_page_url]

[travis_image_url]: https://api.travis-ci.org/joyent/node-ldapjs.svg
[travis_page_url]: https://travis-ci.org/joyent/node-ldapjs

LDAPjs makes the LDAP protocol a first class citizen in Node.js.

## Usage

For full docs, head on over to <http://ldapjs.org>.

```javascript
var ldap = require('ldapjs');

var server = ldap.createServer();

server.search('dc=example', function(req, res, next) {
  var obj = {
    dn: req.dn.toString(),
    attributes: {
      objectclass: ['organization', 'top'],
      o: 'example'
    }
  };

  if (req.filter.matches(obj.attributes))
  res.send(obj);

  res.end();
});

server.listen(1389, function() {
  console.log('ldapjs listening at ' + server.url);
});
```

To run that, assuming you've got the [OpenLDAP](http://www.openldap.org/)
client on your system:

    ldapsearch -H ldap://localhost:1389 -x -b dc=example objectclass=*

## Installation

    npm install ldapjs

## License

MIT.

## Bugs

See <https://github.com/mcavage/node-ldapjs/issues>.
npm package: @mdbarr/skyfall
Description: Event based webhook handler
Author: Mark Barr
Latest version: 0.3.0

<p align="center">
  <img src="https://github.com/mdbarr/skyfall/blob/master/logo.svg" width="25%" title="Comet by Nikita Golube from flaticons.com">
</p>

# skyfall
Event based webhook handler
npm package: @mdcc/at-json
Description: A declarative mapper to and from JSON.
Author: Davide Canton
Latest version: 1.2.1

# at-json

[![Build Status](https://github.com/DavideCanton/at-json/actions/workflows/main.yml/badge.svg)](https://github.com/DavideCanton/at-json/actions/workflows/main.yml)

A declarative mapper to and from JSON.

## Installation

```bash
npm install @mdcc/at-json
```

## Usage

```typescript
import { JsonClass, JsonProperty, JsonArray, JsonComplexProperty, JsonMapper } from '@mdcc/at-json';

@JsonClass()
class Payload {
    // maps a "name" property to the field
    @JsonProperty() name: string;
    // maps a "SN" property to the field "surname"
    @JsonProperty('SN') surname: string;
    // maps an array of numbers named "numbers" to the field
    @JsonArray() numbers: number[];
    // maps a complex type recursively
    @JsonComplexProperty(SubClass) sub: SubClass;
}

@JsonClass()
class SubClass {
    // other mappings
    @JsonProperty() x: number;
    @JsonProperty() y: number;

    get norm(): double {
        return Math.sqrt(this.x * this.x + this.y * this.y);
    }
}

// ...
const payloadObject = {
    name: 'name',
    SN: 'surname',
    numbers: [1, 2, 3],
    sub: {
        x: 1,
        y: 2,
    },
};

// create a mapper instance
const mapper = new JsonMapper();

// you can deserialize objects, or JSON strings too!
const mapped = mapper.deserialize(Payload, payloadObject);
const mappedFromString = mapper.deserialize(Payload, JSON.stringify(payloadObject));

// mapped is a Payload instance
expect(mapped instanceof Payload).toBe(true);

// fields are deserialized accordingly to the names specified in decorators
expect(mapped.name).toBe('name');
expect(mapped.surname).toBe('surname');

// mapped.sub is a SubClass instance
expect(mapped.sub instanceof SubClass).toBe(true);
expect(mapped.sub.norm).toBe(Math.sqrt(5));
```

## Documentation

Documentation can be found [here](https://davidecanton.github.io/at-json/).

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)