Socket
Socket
Sign inDemoInstall

properties-reader

Package Overview
Dependencies
2
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0 to 2.1.1

2

package.json
{
"name": "properties-reader",
"description": "Properties file reader for Node.js",
"version": "2.1.0",
"version": "2.1.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Steve King",

@@ -56,2 +56,16 @@ Properties-Reader

properties.get('blah.some.thing') == 'bar';
// looping through the properties reader
properties.each((key, value) => {
// called for each item in the reader,
// first with key=main.some.thing, value=foo
// next with key=blah.some.thing, value=bar
});
// get all properties at once
expect(properties.getAllProperties()).toEqual({
'main.some.thing': 'foo',
'blah.some.thing': 'bar',
})

@@ -58,0 +72,0 @@ Checking for the current number of properties that have been read into the reader:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc