Gathering detailed insights and metrics for @codemaskjs/nestjs-elasticsearch
Gathering detailed insights and metrics for @codemaskjs/nestjs-elasticsearch
npm install @codemaskjs/nestjs-elasticsearch
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.26%)
JavaScript (0.74%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,791
Last Day
1
Last Week
2
Last Month
6
Last Year
1,139
MIT License
8 Stars
340 Commits
1 Forks
1 Watchers
6 Branches
7 Contributors
Updated on Feb 06, 2025
Minified
Minified + Gzipped
Latest Version
1.11.0
Package Id
@codemaskjs/nestjs-elasticsearch@1.11.0
Unpacked Size
83.69 MB
Size
72.81 MB
File Count
1,488
NPM Version
10.5.0
Node Version
20.12.2
Published on
Apr 17, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
100%
2
Compared to previous week
Last Month
-79.3%
6
Compared to previous month
Last Year
74.7%
1,139
Compared to previous year
6
41
[!NOTE]
This repository is a Work In Progress, driven by the motive.
Due to Production Experience when working with Elasticsearch leaded to maintenance issues when extensively used searches, filters and aggregations (especially aggregations).
1$ yarn add @codemaskjs/nestjs-elasticsearch 2// or 3$ npm -i @codemaskjs/nestjs-elasticsearch
1import { ElasticsearchModule } from '@codemaskjs/nestjs-elasticsearch' 2 3@Module({ 4 imports: [ 5 ElasticsearchModule.register({ 6 node: 'http://localhost:9200' 7 }) 8 ] 9}) 10class AppModule {}
1import { RegisterIndex } from '@codemaskjs/nestjs-elasticsearch' 2 3@RegisterIndex('examples') 4export class ExampleDocument { 5 readonly id: string 6 readonly test?: string 7}
1import { Injectable } from '@nestjs/common' 2import { Index } from '@codemaskjs/nestjs-elasticsearch' 3import { ExampleDocument } from './example.document' 4 5@Injectable() 6export class ExampleService { 7 @InjectIndex(ExampleDocument) 8 private readonly exampleIndex: Index<ExampleDocument> 9 10 getExampleDocuments() { 11 return this.exampleIndex.search() 12 } 13}
1import { ElasticsearchModule } from '@codemaskjs/nestjs-elasticsearch' 2import { ExampleDocument } from './example.document' 3 4@Module({ 5 imports: [ 6 providers: [ExampleService], 7 ElasticsearchModule.register({ 8 node: 'http://localhost:9200' 9 }), 10 ElasticsearchModule.forFeature([ 11 ExampleDocument 12 ]) 13 ] 14}) 15class AppModule {}
e2e
tests setup for features scenario testsextraction
of aggregations on response
healthcheck
from ElasticsearchService
checkDocumentIntegrity
with the connection on the source on runtimescript
to sum
, avg
, max
aggregationterms
aggregationNo vulnerabilities found.
No security vulnerabilities found.