
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
tfk-dsf-unwrap-contact
Advanced tools
Unwraps contact from dsf
From npm
$ npm install tfk-dsf-unwrap-contact
From GitHub
$ git clone git@github.com:telemark/tfk-dsf-unwrap-contact.git
cd into directory and run setup
$ npm run setup
'use strict'
var unwrapContact = require('tfk-dsf')
var data = {
RESULT: {
HOV: {
FODT: '220486',
PERS: '12345',
INR: '22048612345',
FODTAR: '1986',
'STAT-KD': '1',
STAT: 'BOSATT',
'NAVN-S': 'GRÅ',
'NAVN-F': 'GANDALF',
'NAVN-M': {},
NAVN: 'GRÅ GANDALF',
'NAVN-D': {},
ADRR: '20060822',
ADRF: '20060818',
ADR: 'SNIPPETSTADSTREDET 24',
POSTN: '1732',
POSTS: 'HØTTEN',
KOMNR: '0707',
KOMNA: 'HØTTEN',
GATE: '01880',
HUS: '0024',
ADRTYPE: 'O',
FKOM: '0501',
'FKOM-N': 'LILLEHAMMER',
'FKOM-R': '19990713',
'FKOM-F': '19990701',
UTVT: {},
'UTVT-N': {},
'UTVT-R': {},
'UTVT-F': {},
AARSADR: '24',
'SPES-KD': '0',
SPES: 'VANLIG BOSATT',
SKKR: '0005',
VAKR: '0010',
GRUNNKR: '0411',
MELD: {},
'K-FAMNR': '22048612345',
'FAMNR-D': '19980718',
PERSKODE: '1',
'EKT-FODT': '050180',
'EKT-PERS': '54321',
'EKT-INR': '05018054321',
Barn: [
{
'BAR-FODT': '080907',
'BAR-PERS': '98765',
'BAR-INR': '08090798765',
'BAR-KJO': 'K'
},
{
'BAR-FODT': '070603',
'BAR-PERS': '56789',
'BAR-INR': '07060356789',
'BAR-KJO': 'M'
}
],
'MOR-FODT': '030450',
'MOR-PERS': '19285',
'MOR-INR': '03045019285',
'FAR-FODT': '020850',
'FAR-PERS': '91825',
'FAR-INR': '1928591825',
KJONN: 'M',
FODKNR: '1201',
FODK: "BERGEN",
FODS: {}
}
}
}
data.templatePath = 'lib/data/skoleskyss.json' // To use another template
console.log(unwrapContact(data))
returns
{
FODT: '220486',
PERS: '12345',
INR: '22048612345',
FODTAR: '1986',
'NAVN-S': 'GRÅ',
'NAVN-F': 'GANDALF',
'NAVN-M': {},
NAVN: 'GRÅ GANDALF',
ADR: 'SNIPPETSTADSTREDET 24',
POSTN: '1732',
POSTS: 'HØTTEN',
'SPES-KD': '0',
SPES: 'VANLIG BOSATT'
}
FAQs
Unwraps contact information from dsf result
The npm package tfk-dsf-unwrap-contact receives a total of 0 weekly downloads. As such, tfk-dsf-unwrap-contact popularity was classified as not popular.
We found that tfk-dsf-unwrap-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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.