open-index/open-npm huggingface dataset:
npm package: @lbdudc/gitlab-commando
Description: Fork of gitlab-commando, a TypeScript library implementing command pattern with undo/redo functionality for interacting with the GitLab API.
Author: Alejandro Buján
Latest version: 0.1.2

# GitLab Commando

`gitlab-commando` is a TypeScript library that implements the command pattern with undo/redo functionality specifically for interacting with the GitLab API. This library provides a robust and flexible way to perform various GitLab operations programmatically while supporting undoable actions for safer batch operations.

This is a fork of [https://github.com/alejandrobujan/gitlab-commando](https://github.com/alejandrobujan/gitlab-commando), made by Alejandro Bujan.

## Installation

```
npm i @lbdudc/gitlab-commando
```

## Usage

Here is how you can use the `@lbdudc/gitlab-commando` to interact with the GitLab API:

```javascript
import { GitLabSession } from '@lbdudc/gitlab-commando';

const gitlabSession = new GitLabSession('your-instance-url');

// Create a new project
gitlabSession.createProject('your-token', 'New Project', 'namespaceId', ['topic1', 'topic2'], 'master').then(response => {
  console.log('Project created:', response);
}).catch(error => {
  console.error('Error creating project:', error);
});

// Close a merge request
gitlabSession.closeMergeRequest('your-token', 'project-id', 'merge-request-iid').then(response => {
  console.log('Merge request closed:', response);
}).catch(error => {
  console.error('Error closing merge request:', error);
});

// Undo the commands above
gitlabSession.rollback();
```
npm package: @lbdudc/gp-gis-dsl
Description: A library that parses a DSL instance and generates the spec for the web-based GIS SPL.
Author: Álex Cortiñas
Latest version: 0.3.4

# GIS DSL

![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)
![Node.js Version](https://img.shields.io/badge/node-%3E%3D%2019.0.0-brightgreen.svg)
![npm version](https://badge.fury.io/js/gis-dsl.svg)

It parses a DSL instance and generates the spec for the web-based GIS SPL.

## Installation

```bash
npm install @lbdudc/gp-gis-dsl
```

## Usage

```js
import gisdslParser from "@lbdudc/gp-gis-dsl";

const spec = gisdslParser(inputString);
```

The DSL instance must finish with a `GENERATE GIS` sentence in order to work. See examples within the tests files.

## Pre-requisites

- Have installed in your machine:
  - [Node.js](https://nodejs.org/en/download/)

## Author

Alejandro Cortiñas
Email: <alejandro.cortinas@udc.es>

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details