Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
tfk-dsf-normalize-contact
Advanced tools
Maps contact information from dsf to something more useful
From npm
$ npm install tfk-dsf-normalize-contact
From GitHub
$ git clone
cd into directory and run setup
$ npm run setup
'use strict'
var normalizeContact = require('tfk-dsf-normalize-contact')
var dsf = {
'FODT': '181171',
'PERS': '12345',
'INR': '18117108976',
'FODTAR': '1971',
'STAT-KD': '1',
'STAT': 'BOSATT',
'NAVN-S': 'GRÅ',
'NAVN-F': 'GANDALF',
'NAVN-M': 'GEORG',
'NAVN': 'GRÅ GANDALF GEORG',
'ADR': 'FYLKESBAKKEN 10',
'POSTN': '3715',
'POSTS': 'SKIEN',
'SPES-KD': '0',
'SPES': 'VANLIG BOSATT'
}
console.log(normalizeContact(dsf))
Returns
{
'personalIdNumber': '18117112345',
'birthDate': '1971-11-18',
'firstName': 'Gandalf',
'middleName': 'Georg',
'lastName': 'Grå',
'fullName': 'Gandalf Georg Grå',
'address': 'Fylkesbakken 10',
'zip': '3715',
'city': 'Skien'
}
FAQs
Transforms contact information from dsf to something useful
The npm package tfk-dsf-normalize-contact receives a total of 33 weekly downloads. As such, tfk-dsf-normalize-contact popularity was classified as not popular.
We found that tfk-dsf-normalize-contact demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.