open-index/open-npm huggingface dataset:
npm package: @sierraecg/core
Description: Core utilities for working with the Philips SierraECG XML format.
Author: Christopher A. Watford
Latest version: 1.0.1

# sierraecg.js
Sierra ECG tools for JavaScript and TypeScript.

## Example

```javascript
const fs = require('node:fs/promises');
const { Ecg } = require('@sierraecg/core');

const xml = await fs.readFile('129DYPRG.XML');
const ecg = await Ecg.fromXmlAsync(xml);
console.log('Found %d leads', ecg.leads.length);
ecg.leads
  .filter(function (lead) {
    return lead.enabled;
  }).forEach(function (lead) {
    console.log(
      '    %s: %s ... (%d samples)',
      lead.name,
      lead.data.slice(0, 10).join(' '),
      lead.data.length);
  });
```

## Getting Started
Install via `npm`:

```bash
$ npm install @sierraecg/core
```

Include the module in your project:

```javascript
const { Ecg } = require('@sierraecg/core');
```

That's it!

## API

### Ecg.readXmlAsync(text)
Reads a Sierra ECG XML file from the XML text given.

#### text {String-like}
**required** Sierra ECG XML file contents.

#### Returns
Returns a Promise of an `Ecg` object.

## Linting
Linting is provided via `eslint`:

```bash
$ npm run lint
```

## Tests
Tests are written using `tape`:

```bash
$ npm test
```

## Coverage
Code coverage is provided by `istanbul`:

```bash
$ npm run cover
```

## Contributors
- Christopher A. Watford <christopher.watford@gmail.com>

## License
The MIT License (MIT)

Copyright (c) 2014-2024 Christopher A. Watford

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: @sierralabs/nest-utils
Description: Contains cross-project commonly used NestJS code like postgres naming strategy, nest decorators, and pipes.
Author: Sierra Labs
Latest version: 0.2.1

# nest-utils

## Description

Contains cross-project commonly used NestJS code like postgres naming strategy, nest decorators, and pipes.

## Requirements

Make sure to have the following installed

* `NodeJS / NPM` for application runtime
* `NestJS` for application framework

## Installation

To use the `nest-utils` node module:

```bash
$ npm install --save @sierralabs/nest-utils
```

or with yarn

```bash
$ yarn add @sierralabs/nest-utils
```

## Postgres Naming Strategy

TypeORM by default retains camelCase naming convention for table and column names. Also, constraints, relations, primary keys, and foreign key names generated by TypeORM do not follow industry best practices. The `PostgresNamingStrategy` overrides TypeORM's default naming strategy.

To use, modify the NestJS module imports to include the `namingStrategy` property:

```javascript
TypeOrmModule.forRoot({
  ...
  namingStrategy: new PostgresNamingStrategy()
});
```

## Config Module based on ConvictJS

The Config module provides a standard environment specific Config Service to access environment variables. See [README here](src/config/README.md) for more details on setup and configuration.


## NestJS Pipes

* `ParseBooleanPipe` - used to parse boolean query string params
* `RequiredPipe` - Enforced a required query string param
* `ParseEntity` - uses the class-transformer library to convert a JSON body to an TypeORM Entity class instance

## Contributing

To contribute to the `nest-utils` project please make sure to have the following configured in your development environment. Submit pull request to master after making sure all unit tests run successful.

* `tslint` for TypeScript linting (tslint in VSCode to automate linting)
* `jest` for unit testing

### Development environment setup

```bash
$ npm install
```

If you would like to develop/debug `nest-utils` in your source project you can npm link to symlink cross-dependency:

```bash
# Run npm link on this project
$ npm link

# Run npm link on your project
$ npm link @sierralabs/nest-utils
```

### Test

All code changes should have supported unit tests.

```bash
# unit tests
$ npm run test

# test coverage
$ npm run test:cov
```
npm package: @sieumayman/thank-you-tweet-button-001
Description: Easy-to-use tweet button for saying thank you to @oluwatobiss.
Author: Example Name
Latest version: 1.0.0

> **Note**
>
> This package is a project in the [Creating NPM Package book](https://amzn.to/4lifL3n).

# Thank You Tweet Button 001

An easy-to-use tweet button for saying thank you to @oluwatobiss.

This button auto-fills your tweet pop-up modal with a nicely worded thank you message.

## Featues

- A button that posts a thank you message

## Live Demo

https://codesweetly.com

## Installation

This section shows how to install the Thank You Tweet Button 001 package.

### Using npm

```
npm install thank-you-tweet-button-001
```

### Using yarn

```
yarn add thank-you-tweet-button-001
```

### Using npm

```
pnpm add thank-you-tweet-button-001
```

## Usage

```ts
import { tweetButton } from "thank-you-tweet-button-001";

document.YourDOMNode.appendChild(tweetButton());
```

## Dev Dependencies

- [@babel/preset-env](https://babeljs.io/docs/babel-preset-env)
- [commitlint](https://commitlint.js.org)
- [Husky](https://github.com/typicode/husky)
- [Jest](https://github.com/jestjs/jest)
- [TypeScript](https://github.com/Microsoft/TypeScript)
npm package: @sieutoc/themes
Description: Theme collection for our template
Author: Sieutoc Team
Latest version: 2.0.6

# @sieutoc/themes

A theme collection for Sieutoc site generator.

## Developing

Clone the project

```bash
git clone git@github.com:websitesieutoc/themes.git
```

Go to the project directory

```bash
cd themes
```

Install dependencies

```bash
pnpm install
```

Start the server

```bash
pnpm dev
```

Copy the based theme

```bash
cp -r src/minimalist src/newname
```