Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@ezs/analytics
Advanced tools
ezs
analytics functionsThis package cannot be used alone. @ezs/core has to be installed
import ezs from '@ezs/core';
import analytics from '@ezs/analytics';
ezs.use(analytics);
process.stdin
.pipe(ezs('STATEMENT_NAME', { STATEMENT_PARAMETERS })
.pipe(process.stdout);
Take Object
object getting some fields with json path, and do ...
path
StringReturns Object
Take Object
object getting some fields with json path, and do ...
path
String path (optional, default "id"
)Returns Object
Take Object
like { id, value } and throw a serie of number value
id
String path to use for id (optional, default "id"
)value
String path to use for value (optional, default "value"
)step
String step between each valut (optional, default 1
)start
Number first value to throw (optional, default minvalueinthestream
)size
Number size of the distribution (optional, default (minvalue-maxvalue)inthestream
)default
Number default value for missing object (optional, default 0
)Returns Object
Take Object
and throw the same object only if there the value of the select field is not equals than a value
path
String path of the field to compare (optional, default "value"
)if
Number value to compare (optional, default ""
)Returns Object
Take Object
and take values with [value] path (must be an array)
and throw object of each value. The new object is build with [id] and eac value.
id
String path to use for id (optional, default "id"
)value
String path to use for value (optional, default "value"
)Returns Object
Take Object
and throw the same object only if there the value of the select field is equals than a value
path
String path of the field to compare (optional, default "value"
)if
Number value to compare (optional, default ""
)Returns Object
Take Object
object getting some fields with json path, and do ...
path
StringReturns Object
Take Object
and throw the same object only if the value of the selected
field is greater (or equal) than a value
path
String path of the field to compare (optional, default "value"
)than
Number value to compare (optional, default 0
)strict
Boolean greater than but not equal (optional, default false
)Returns Object
Take Object
like { id, value }
and reduce all values with the same id
in a single object
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take Object
like { id, value }
and reduce all value
with id
which
have the same Hamming distance in a single object
id
String path to use for id (optional, default "id"
)value
String path to use for value (optional, default "value"
)Returns Object
Take Object
like { id, value }
and reduce all value
s with
id
which have the same Levenshtein distance in a single object
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)distance
Number minimal levenshtein distance to have a same id (optional, default 1
)Returns Object
Take Object
like { id, value }
and reduce all value
s with the same
modulo computation in a ansingle object
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take Object
and throws all its keys
path
StringReturns Object
Take Object
and throw the same object only if the value of the selected
field is less (or equal) than a value
path
String path of the field to compare (optional, default value
)than
Number value to compare (optional, default 0
)strict
Boolean less than but not equal (optional, default false
)Returns Object
Take special Object
like {id, value}
and replace value
with the max of value
s
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take special Object
like {id, value}
and replace value
with the merge of value
s
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take special Object
like {id, value}
and replace value
with the min of
value
s
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
TO BE DESCRIBED
Take Object
object getting some fields with json path, and do ...
path
StringReturns Object
Take Object
object getting value of fields (with json path
) and throws an
object for each value
path
String path to use form group by (optional, default id
)Returns Object
Take Object
group value of { id, value }
objectpath
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take Object
object getting some fields with json path, and throw segment of
value. Ex: get [a,b,c]
and throw [a,b], [b,c]
path
String path (optional, default value
)aggregate
Boolean aggregate all values for all paths (or not) (optional, default true
)Returns Object
Take Object
and throw the same object only if it is in the section of the
stream between start and start + size. stream is numbered from 1
start
Number start of the slice (optional, default 0
)size
Number size of the slice (optional, default 10
)Returns Object
Take all Object
and sort them with dedicated key
path
String path to use for id (optional, default id
)Returns Object
Take special Object
like {id, value}
and replace value
with the sum of
value
s
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take Object
and take values with [value] path (must be an array)
id
String path to use for id (optional, default id
)value
String path to use for value (optional, default value
)Returns Object
Take all Object
and sort them with selected field
path
String path to use for the sort key (optional, default id
)Returns Object
Take Object
object and getting the value field
path
String the pah of the value field (optional, default value
)Returns Object
FAQs
Analytics statements for EZS
The npm package @ezs/analytics receives a total of 76 weekly downloads. As such, @ezs/analytics popularity was classified as not popular.
We found that @ezs/analytics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.