1.2.1 • Published 7 months ago

@piggly/mysql v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

MySQL Wrapper

Typescript NPM Software License

An ESM/CommonJS library following Oriented-Object Programming pattern to manager a MySQL connection.

Usage

This package is only a wrapper. Applying the @piggly/ddd-toolkit behavior to mysql2 library. May not be for every project or everyone. See unit testing for examples.

Changelog

See the CHANGELOG file for information about all code changes.

Testing the code

This library uses the Jest. Tests are made of integrations test. We carry out tests of all the main features of this application.

⚠️ You must install (https://github.com/datacharmer/test_db)https://github.com/datacharmer/test_db database on your MySQL instance.

cross-env JEST_MYSQL_USER=root JEST_MYSQL_PASSWORD=pass npm run test:once

Contributions

See the CONTRIBUTING file for information before submitting your contribution.

Credits

License

MIT License (MIT). See LICENSE.

1.2.0

7 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.2.1

7 months ago

1.1.2

10 months ago

1.0.0

11 months ago

0.1.0-beta.1

11 months ago

0.1.0-beta.0

11 months ago