![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.
num-record-packer
Advanced tools
A JSON to JSON mapper in TypeScript for compacting NUM objects according to an unpacker spec.
This program takes a JSON object and convertes it to a more compact JSON object using a mapping specification, also written as JSON.
git clone git@github.com:NUMtechnology/num-record-packer.git
.cd num-record-packer
npm install -g webpack
npm install -g webpack-cli
npm install
test/index.html
file using a web browser (Only tested using Brave browser)Pack
to see the result.const api = require('num-record-packer');
const mapperData = {
phonetic: {
assignKeys: ['a', 'b', 'c'],
},
};
const data = {
phonetic: {
a: 'alpha',
b: 'bravo',
c: 'charlie',
},
};
const packed = api.mapper.pack(data, mapperData);
console.log(JSON.stringify(packed));
import { createNumRecordPacker } from 'num-record-packer';
const mapperData = {
phonetic: {
assignKeys: ['a', 'b', 'c'],
},
};
const data: object = {
phonetic: {
a: 'alpha',
b: 'bravo',
c: 'charlie',
},
};
const packer = createNumRecordPacker();
const packed: object = packer.pack(data, mapperData);
console.log(JSON.stringify(packed));```
FAQs
A JSON to JSON mapper in TypeScript for compacting NUM objects according to an unpacker spec.
The npm package num-record-packer receives a total of 0 weekly downloads. As such, num-record-packer popularity was classified as not popular.
We found that num-record-packer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.