24.137.0 • Published 6 days ago

@js-dot/data v24.137.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 days ago

@js-dot/data

NameVersionDownloads
@js-dot/data npm.ionpm.io

Simple Data Restructuring

Submodules

  • @js-dot/data/frame
  • @js-dot/data/csv
  • @js-dot/data/ini

Cheatsheet

//@formatter:off

toRelate

Before

Group Items:

[
    { "primary": 1 },
    { "primary": 2 }
]

Related Items:

[
    { "parent": 1  },
    { "parent": 2  }
]

After

[
    {
        "primary"     : 1,
        "items": [
            { "parent": 1 }
        ]
    },
    {
        "primary"     : 2,
        "items": [
            { "parent": 2 }
        ]
    }
]

frameToXYSeriesSet

Before

[
  ["date", "foo", "bar"],
  [     1,     2,     3],
  [     2,    20,    30]
]

After

{
    "foo": {
        "x": [1,  2],
        "y": [2, 20]
    },
    "bar": {
        "x": [1,  3],
        "y": [2, 30]
    }
}

//@formatter:on

24.137.0

6 days ago

24.127.0

15 days ago

24.127.3

14 days ago

24.114.0

28 days ago

24.58.0

3 months ago

24.50.0

3 months ago

24.17.0

4 months ago

24.10.0

4 months ago

23.187.0

11 months ago

23.181.41

11 months ago

23.181.42

11 months ago

23.181.40

11 months ago

23.181.25

11 months ago

23.181.24

11 months ago

23.53.0

1 year ago

23.34.0

1 year ago

23.48.0

1 year ago

23.48.1

1 year ago

23.3.1

1 year ago

22.314.0

2 years ago

23.10.0

1 year ago

22.311.0

2 years ago

22.319.1

2 years ago

22.306.0

2 years ago

22.216.0

2 years ago

22.202.0

2 years ago

22.200.3

2 years ago

22.200.2

2 years ago

22.200.1

2 years ago

22.200.0

2 years ago

22.186.0

2 years ago