Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
moleculer-postgis
Advanced tools
@moleculer/database
projectThe moleculer-postgis
is designed to support Postgis functions for @moleculer/database
mixin.
To get started, install moleculer-postgis
package to your project.
npm i moleculer-postgis
yarn add moleculer-postgis
import PostgisMixin from 'moleculer-postgis';
module.exports = {
mixins: [
PostgisMixin: {
srid: 3346
}
],
settings: {
fields: {
// example with geom and validating types
geom: {
type: 'any',
geom: {
types: ['Point', 'LineString']
}
},
area: {
type: 'number',
virtual: true,
geom: {
type: 'area',
}
}
}
}
};
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. For more information, see the contribution guidelines.
This project is licensed under the MIT License.
FAQs
Postgis mixin and functions for @moleculer/database
The npm package moleculer-postgis receives a total of 22 weekly downloads. As such, moleculer-postgis popularity was classified as not popular.
We found that moleculer-postgis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.