Skip to content

Commit 5ee5a41

Browse files
committed
Switched from beta to real data-forge.
1 parent d027ad7 commit 5ee5a41

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# data-forge-fs
22

3-
The file system API for use with [Data-Forge](https://github.com/data-forge/data-forge-ts).
3+
The file system module for use with [Data-Forge](https://github.com/data-forge/data-forge-ts).
44

55
This library contains the file system extensions to Data-Forge that allow it to directly read and write CSV and JSON files.
66

7+
See [Data-Forge docs](https://github.com/data-forge/data-forge-ts) and [guide](https://github.com/data-forge/data-forge-ts/blob/master/docs/guide.md) for details on how to use.
8+

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "data-forge-fs",
3-
"version": "0.0.1",
4-
"description": "This library contains the file system extensions to Data-Forge that allow it to directly read and write CSV and JSON files.",
3+
"version": "0.0.2",
4+
"description": "This library contains the file system extensions to Data-Forge that allow it to directly read and write CSV and JSON files in Node.js.",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",
77
"scripts": {
@@ -31,7 +31,7 @@
3131
"chai": "^4.1.2"
3232
},
3333
"peerDependencies": {
34-
"data-forge-beta": "^1.3.0"
34+
"data-forge": "^1.3.0"
3535
},
3636
"devDependencies": {
3737
"@types/chai": "^4.1.4",

src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { assert } from 'chai';
2-
import { IDataFrame, DataFrame, fromJSON, fromCSV, ICSVOptions } from 'data-forge-beta';
3-
import * as dataForge from 'data-forge-beta';
2+
import { IDataFrame, DataFrame, fromJSON, fromCSV, ICSVOptions } from 'data-forge';
3+
import * as dataForge from 'data-forge';
44

55
/**
66
* Packages a dataframe ready for serialization to a CSV format text file.
@@ -205,7 +205,7 @@ class JsonSerializer<IndexT, ValueT> implements IJsonSerializer {
205205
//
206206
// Augment IDataFrame and DataFrame with fs functions.
207207
//
208-
declare module "data-forge-beta/build/lib/dataframe" {
208+
declare module "data-forge/build/lib/dataframe" {
209209

210210
/**
211211
* Interface that represents a dataframe.
@@ -514,7 +514,7 @@ class SyncFileReader implements ISyncFileReader {
514514
//
515515
// Augmuent the data-forge namespace to add new functions.
516516
//
517-
declare module "data-forge-beta" {
517+
declare module "data-forge" {
518518

519519
/**
520520
* Read a file asynchronously from the file system.

src/test/dataframe.csv.file.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { assert, expect } from 'chai';
22
import 'mocha';
3-
import * as dataForge from 'data-forge-beta';
3+
import * as dataForge from 'data-forge';
44
import '../index';
55
import * as mock from 'mock-require';
66

src/test/dataframe.json.file.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { assert, expect } from 'chai';
22
import 'mocha';
3-
import * as dataForge from 'data-forge-beta';
3+
import * as dataForge from 'data-forge';
44
import '../index';
55
import * as mock from 'mock-require';
66

src/test/readFile.csv.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { assert, expect } from 'chai';
22
import 'mocha';
33
import * as mock from 'mock-require';
4-
import * as dataForge from 'data-forge-beta';
4+
import * as dataForge from 'data-forge';
55
import '../index';
66

77
describe('readFile csv', () => {

0 commit comments

Comments
 (0)