![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@ezs/basics
Advanced tools
Ce plugin propose une série d'instructions transformer plusieurs formats text
(xml, json, cvs, etc.) en flux d'objets Javascript
npm install @ezs/basics
Take Object
and send it to an URL
the output will be the content of URL
Returns Object
Take Object
as parameters of URL, throw each chunk from the result
url
String? URL to fecthpath
String choose the path to split JSON result (optional, default *
)timeout
String Timeout for each request (milliseconds) (optional, default 1000
)Returns Object
Take Object
and count how many objects are received and sent the total
none
undefinedReturns Number
Take Object
and create a new field with the content of URL.
Or if no target will be specified, the output will be the content of URL
url
String? URL to fecthtarget
String? choose the key to setjson
String Pasre as JSON the content of URL (optional, default false
)timeout
String Timeout for each request (milliseconds) (optional, default 1000
)Returns Object
Take String
of URL, parse it and returns Object
Returns Object
Take Object
representing a URL and stringify it
Returns String
Take Mixed
and produce Buffer.
For example, it's useful to send string to browser.
none
undefinedReturns Buffer
Take String
and generate an object with a key and a value, where the value is the input string.
key
String choose a the key name (optional, default value
)Returns Object
Take String
and concat all items in just one string
none
undefinedReturns String
Take the content of a zip file, extract some files, and yield JSON. By default, files are scanned as JSON files. The JSON object is sent to the output stream for each file. If JSON option is disabled, it returns to the output stream an object for each file found like :
{ id: file name, value: file contents, }
path
Boolean Regex to select the files to extract (optional, default "**\/*.json"
)json
Boolean transforms each file into an Object (JSON) (optional, default true
)Returns any
Take Object
and flat it with delimited character.
separator
String choose a character for flatten keys (optional, default /
)safe
Boolean preserve arrays and their contents, (optional, default false
)Returns Object
Take Object
and generate INI
Returns String
Take String
and parse CSV to generate object
separator
String to indicate the CSV separator (optional, default auto
)quote
String to indicate the CSV quote. (optional, default auto
)Returns Object
Take Object
and transform it into a XML string
rootElement
String Root element name for the tag which start and close the feed (optional, default items
)contentElement
String Content element name for the tag which start and close each item (optional, default item
)rootNamespace
String? Namespace for the root tag (xmlns=)Returns String
Take String
and parse JSON and generate objects
separator
String to split at every JSONPath found (optional, default *
)Returns Object
Take a String and zip it
Returns Buffer
Take Object
and generate JSON
wrap
String every document are wrapped into an array (optional, default true
)indent
String indent JSON (optional, default false
)Returns String
Take String
as XML input, parse it and split it in multi document at each path found
separator
String choose a character for flatten keys (optional, default /
)Returns Object
Take String
and split at each separator found
separator
String choose character which trigger the split (optional, default "\n"
)Returns String
Take Object
and transform row into string
where each field is separated with a character
format
String if set to "strict" the fields will wrapped with double quote (optional, default standard
)separator
String to indicate the CSV separator (optional, default ;
)header
Boolean first line contains key name (optional, default true
)Returns String
Take Array
and transform rows into object.
Each row (Array) is tranformed
into a object where keys are the value of the first row
none
undefinedReturns Object
Take Object
and standardize it so each object will have the sames keys
none
undefinedReturns Object
FAQs
Basics statements for EZS
The npm package @ezs/basics receives a total of 126 weekly downloads. As such, @ezs/basics popularity was classified as not popular.
We found that @ezs/basics 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.