
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
alinex-format
Advanced tools
This package will give you an easy way to serialize and deserialize different data objects into multiple formats.
The major features are:
It is one of the modules of the Alinex Namespace following the code standards defined in the General Docs.
Read the complete documentation under https://alinex.github.io/node-format.
The easiest way is to let npm add the module directly to your modules (from within you node modules directory):
npm install alinex-format --save
And update it to the latest version later:
npm update alinex-format --save
Always have a look at the latest changes.
To use the format you have to load the module first:
format = require 'alinex-format'
This gives you back the main format instance which holds two methods to use:
Serialize data object into string.
Arguments:
obj
object to be formattedformat
format to use or filename to read format fromoptions (optional)
specific for the formatcb
callback will be called with (err, text)Try to parse object from string. Auto detect if no format is given.
Arguments:
string
text to be parsedformat (optional)
format to use or filename to read format fromcb
callback will be called with (err, object)(C) Copyright 2016 Alexander Schilling
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Parse and format multiple data serialization types.
We found that alinex-format 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.