Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-dsf
Advanced tools
Readme
Node.js module for looking up data from DSF (Det sentrale folkeregister). DSF is register of residents in Norway.
To obtain login credentials and other permissions go to infotorg.no
From npm
$ npm i node-dsf
const dsfLookup = require('node-dsf')
const config = {
url: 'http://ws-test.infotorg.no/xml/ErgoGroup/DetSentraleFolkeregister1_4/2015-08-10/DetSentraleFolkeregister1_4.wsdl',
// PROD url: 'http://ws.infotorg.no/xml/ErgoGroup/DetSentraleFolkeregister1_4/2015-08-10/DetSentraleFolkeregister1_4.wsdl',
namespaceBrukersesjon: 'http://ws.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd',
distribusjonskanal: 'PTP',
systemnavn: 'systemnavn',
brukernavn: 'brukernavn',
passord: 'passord'
}
const method = 'hentDetaljer' // See supported methods
const query = {
saksref: 'your-reference',
foedselsnr: '26118633333', // requires this or foedselsdato
foedselsdato: '261186', // requires this or foedselsnr
etternavn: 'Enge',
fornavn: 'Jonas'
}
const options = {
method,
config,
query
}
dsfLookup(options)
.then(data => console.log(JSON.stringify(data)))
.catch(error => console.error(error))
const dsfLookup = require('node-dsf')
const config = {
url: 'http://ws-test.infotorg.no/xml/ErgoGroup/DetSentraleFolkeregister1_4/2015-08-10/DetSentraleFolkeregister1_4.wsdl',
// PROD url: 'http://ws.infotorg.no/xml/ErgoGroup/DetSentraleFolkeregister1_4/2015-08-10/DetSentraleFolkeregister1_4.wsdl',
namespaceBrukersesjon: 'http://ws.infotorg.no/xml/Admin/Brukersesjon/2006-07-07/Brukersesjon.xsd',
distribusjonskanal: 'PTP',
systemnavn: 'systemnavn',
brukernavn: 'brukernavn',
passord: 'passord'
}
const method = 'hentDetaljer' // See supported methods
const query = {
saksref: 'your-reference',
foedselsnr: '26118633333', // requires this or foedselsdato
foedselsdato: '261186', // requires this or foedselsnr
etternavn: 'Enge',
fornavn: 'Jonas'
}
const options = {
method,
config,
query
}
dsfLookup(options, function (error, data) {
if (error) {
console.error(error)
}
console.log(JSON.stringify(data))
})
You must get access to these methods from both skattedirektoratet and evry (see https://www.infotorg.no/)
(Don't be in a hurry)
FAQs
Look up data from DSF (Det sentrale folkeregisteret)
The npm package node-dsf receives a total of 2 weekly downloads. As such, node-dsf popularity was classified as not popular.
We found that node-dsf 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.