'using electron-store with ip as key
Hy,
i try to use electron-store to persist values by ip as key. Using the code:
store.set('users.' + ip, 'foo')
So i want to achieve following object:
{users: [{"192.186.0.0": "foo"},{"192.186.0.1": "bar"}]}
but what i got is
"192": { "168": { "192": { "151": "Foo", "134": "Bar",.....
So is there a way to use ips?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
