
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
elasticsearch-mappings
Advanced tools
Easy to use elasticsearch schema/mappings uploader writen in nodejs.
A simple elasticsearch
helper CLI tool, written in nodejs.
Use to upload index mappings to database in a simple way.
json
format.elasticsearch-mappings create [path] [-h] [-f]
elasticsearch-mappings delete [index]
Options:
[path]
: optional path to a mappings file or directory (current directory will be used by default).[-h, --host]
: optional elasticsearch host parameter (default: localhost:9200)[-f, --force]
: force recreation of indices.[index]
: optional index name (all indices will be delete by default).A file named foo.json
inside /mappings
folder will result in the creation
of an index named foo and will have settings described in a file.
NOTE
: elasticsearch-mappings by default doesn't look for/mappings
directory!
elasticsearch-mappings support all settings options defined in elasticsearch reference.
Reference: mappings
Running elasticsearch-mappings create ./example
will create two indices, bar
and foo
.
Running elasticsearch-mappings create ./example/bar.json
will create only one index, bar
.
Running elasticsearch-mappings delete bar
will delete only one index, bar
.
Running elasticsearch-mappings delete
will delete all/both indexes, bar
and foo
.
If you find a bug, please open an issue or create a PR.
FAQs
Easy to use elasticsearch schema/mappings uploader writen in nodejs.
The npm package elasticsearch-mappings receives a total of 0 weekly downloads. As such, elasticsearch-mappings popularity was classified as not popular.
We found that elasticsearch-mappings demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.