
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.
@aux4/adapter
Advanced tools
$ npm install --global @aux4/adapter
config:
my-mapping:
transformers:
GENDER:
type: replace
replace:
M: MALE
F: FEMALE
DATE:
type: date
format: MM/DD/YYYY
root:
path: $.data
mapping:
name: $.name
age: $.age
birthdate:
path: $.birthdate
transformer: DATE
gender:
path: $.gender
transformer: GENDER
place:
type: object
mapping:
city: $.address.city
{
"data": [
{
"name": "John",
"age": 31,
"birthdate": "1992-04-10",
"gender": "M",
"address": {
"city": "New York"
}
},
{
"name": "Mary",
"age": 27,
"birthdate": "1996-02-14",
"gender": "F",
"address": {
"city": "Boston"
}
}
]
}
$ cat test.json | adapter map --config my-mapping --format json
[
{
"name": "John",
"age": 31,
"birthdate": "04/10/1992",
"gender": "MALE",
"place": {
"city": "New York"
}
},
{
"name": "Mary",
"age": 27,
"birthdate": "02/14/1996",
"gender": "FEMALE",
"place": {
"city": "Boston"
}
}
]
FAQs
Adapt JSON/XML input to a predefined JSON output
We found that @aux4/adapter 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.