├── .babelrc ├── .eslintrc ├── .github ├── issue_template.md ├── pull_request_template.md ├── stale.yml └── workflows │ └── general.yml ├── .gitignore ├── .npmignore ├── .nycrc ├── .prettierrc ├── LEAD.md ├── LICENSE.md ├── Makefile ├── README.md ├── data ├── data_big.csv ├── data_infer.csv ├── data_infer_dates.csv ├── data_infer_formats.csv ├── data_infer_row_limit.csv ├── data_infer_utf8.csv ├── data_parse_options_default.csv ├── data_parse_options_delimiter.csv ├── defective_rows.csv ├── generator.js ├── issue-269.csv ├── issue_175.csv ├── latin1.csv ├── mathematics.csv ├── mathematics.json ├── population.csv └── schema.json ├── examples ├── infer_formats.js ├── infer_simple.js ├── resource.js ├── schema.js └── validate.js ├── index.d.ts ├── index.html ├── karma.conf.js ├── package.json ├── src ├── config.js ├── constraints │ ├── enum.js │ ├── index.js │ ├── maxLength.js │ ├── maximum.js │ ├── minLength.js │ ├── minimum.js │ ├── pattern.js │ ├── required.js │ └── unique.js ├── errors.js ├── field.js ├── helpers.js ├── index.js ├── infer.js ├── profile.js ├── profiles │ ├── geojson.json │ ├── table-schema.json │ └── topojson.json ├── schema.js ├── table.js ├── types │ ├── any.js │ ├── array.js │ ├── boolean.js │ ├── date.js │ ├── datetime.js │ ├── duration.js │ ├── geojson.js │ ├── geopoint.js │ ├── index.js │ ├── integer.js │ ├── number.js │ ├── object.js │ ├── string.js │ ├── time.js │ ├── year.js │ └── yearmonth.js └── validate.js ├── test ├── constraints │ ├── enum.js │ ├── maxLength.js │ ├── maximum.js │ ├── minLength.js │ ├── minimum.js │ ├── pattern.js │ ├── required.js │ └── unique.js ├── errors.js ├── field.js ├── helpers.js ├── infer.js ├── karma.opts ├── mocha.opts ├── profile.js ├── schema.js ├── table.js ├── types │ ├── any.js │ ├── array.js │ ├── boolean.js │ ├── date.js │ ├── datetime.js │ ├── duration.js │ ├── geojson.js │ ├── geopoint.js │ ├── integer.js │ ├── number.js │ ├── object.js │ ├── string.js │ ├── time.js │ ├── year.js │ └── yearmonth.js └── validate.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.github/workflows/general.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.github/workflows/general.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.nycrc -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/.prettierrc -------------------------------------------------------------------------------- /LEAD.md: -------------------------------------------------------------------------------- 1 | aivuk 2 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/README.md -------------------------------------------------------------------------------- /data/data_big.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/data_big.csv -------------------------------------------------------------------------------- /data/data_infer.csv: -------------------------------------------------------------------------------- 1 | id,age,name 2 | 1,39,Paul 3 | 2,23,Jimmy 4 | 3,36,Jane 5 | 4,28,Judy 6 | -------------------------------------------------------------------------------- /data/data_infer_dates.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/data_infer_dates.csv -------------------------------------------------------------------------------- /data/data_infer_formats.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/data_infer_formats.csv -------------------------------------------------------------------------------- /data/data_infer_row_limit.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/data_infer_row_limit.csv -------------------------------------------------------------------------------- /data/data_infer_utf8.csv: -------------------------------------------------------------------------------- 1 | id,age,name 2 | 1,39,Paul 3 | 2,23,Jimmy 4 | 3,36,Jane 5 | 4,28,Judy 6 | 5,37,Iñtërnâtiônàlizætiøn 7 | -------------------------------------------------------------------------------- /data/data_parse_options_default.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/data_parse_options_default.csv -------------------------------------------------------------------------------- /data/data_parse_options_delimiter.csv: -------------------------------------------------------------------------------- 1 | id;age;name 2 | 1;39;Paul 3 | 2;23;Jimmy 4 | 3;36;Jane 5 | 4;28;Judy 6 | -------------------------------------------------------------------------------- /data/defective_rows.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/defective_rows.csv -------------------------------------------------------------------------------- /data/generator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/generator.js -------------------------------------------------------------------------------- /data/issue-269.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/issue-269.csv -------------------------------------------------------------------------------- /data/issue_175.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/issue_175.csv -------------------------------------------------------------------------------- /data/latin1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/latin1.csv -------------------------------------------------------------------------------- /data/mathematics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/mathematics.csv -------------------------------------------------------------------------------- /data/mathematics.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/mathematics.json -------------------------------------------------------------------------------- /data/population.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/population.csv -------------------------------------------------------------------------------- /data/schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/data/schema.json -------------------------------------------------------------------------------- /examples/infer_formats.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/examples/infer_formats.js -------------------------------------------------------------------------------- /examples/infer_simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/examples/infer_simple.js -------------------------------------------------------------------------------- /examples/resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/examples/resource.js -------------------------------------------------------------------------------- /examples/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/examples/schema.js -------------------------------------------------------------------------------- /examples/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/examples/validate.js -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/index.d.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/index.html -------------------------------------------------------------------------------- /karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/karma.conf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/package.json -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/config.js -------------------------------------------------------------------------------- /src/constraints/enum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/enum.js -------------------------------------------------------------------------------- /src/constraints/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/index.js -------------------------------------------------------------------------------- /src/constraints/maxLength.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/maxLength.js -------------------------------------------------------------------------------- /src/constraints/maximum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/maximum.js -------------------------------------------------------------------------------- /src/constraints/minLength.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/minLength.js -------------------------------------------------------------------------------- /src/constraints/minimum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/minimum.js -------------------------------------------------------------------------------- /src/constraints/pattern.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/pattern.js -------------------------------------------------------------------------------- /src/constraints/required.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/required.js -------------------------------------------------------------------------------- /src/constraints/unique.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/constraints/unique.js -------------------------------------------------------------------------------- /src/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/errors.js -------------------------------------------------------------------------------- /src/field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/field.js -------------------------------------------------------------------------------- /src/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/helpers.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/index.js -------------------------------------------------------------------------------- /src/infer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/infer.js -------------------------------------------------------------------------------- /src/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/profile.js -------------------------------------------------------------------------------- /src/profiles/geojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/profiles/geojson.json -------------------------------------------------------------------------------- /src/profiles/table-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/profiles/table-schema.json -------------------------------------------------------------------------------- /src/profiles/topojson.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/profiles/topojson.json -------------------------------------------------------------------------------- /src/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/schema.js -------------------------------------------------------------------------------- /src/table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/table.js -------------------------------------------------------------------------------- /src/types/any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/any.js -------------------------------------------------------------------------------- /src/types/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/array.js -------------------------------------------------------------------------------- /src/types/boolean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/boolean.js -------------------------------------------------------------------------------- /src/types/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/date.js -------------------------------------------------------------------------------- /src/types/datetime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/datetime.js -------------------------------------------------------------------------------- /src/types/duration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/duration.js -------------------------------------------------------------------------------- /src/types/geojson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/geojson.js -------------------------------------------------------------------------------- /src/types/geopoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/geopoint.js -------------------------------------------------------------------------------- /src/types/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/index.js -------------------------------------------------------------------------------- /src/types/integer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/integer.js -------------------------------------------------------------------------------- /src/types/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/number.js -------------------------------------------------------------------------------- /src/types/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/object.js -------------------------------------------------------------------------------- /src/types/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/string.js -------------------------------------------------------------------------------- /src/types/time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/time.js -------------------------------------------------------------------------------- /src/types/year.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/year.js -------------------------------------------------------------------------------- /src/types/yearmonth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/types/yearmonth.js -------------------------------------------------------------------------------- /src/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/src/validate.js -------------------------------------------------------------------------------- /test/constraints/enum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/enum.js -------------------------------------------------------------------------------- /test/constraints/maxLength.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/maxLength.js -------------------------------------------------------------------------------- /test/constraints/maximum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/maximum.js -------------------------------------------------------------------------------- /test/constraints/minLength.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/minLength.js -------------------------------------------------------------------------------- /test/constraints/minimum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/minimum.js -------------------------------------------------------------------------------- /test/constraints/pattern.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/pattern.js -------------------------------------------------------------------------------- /test/constraints/required.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/required.js -------------------------------------------------------------------------------- /test/constraints/unique.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/constraints/unique.js -------------------------------------------------------------------------------- /test/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/errors.js -------------------------------------------------------------------------------- /test/field.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/field.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/infer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/infer.js -------------------------------------------------------------------------------- /test/karma.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/karma.opts -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | --recursive 2 | --timeout 10000 3 | -------------------------------------------------------------------------------- /test/profile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/profile.js -------------------------------------------------------------------------------- /test/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/schema.js -------------------------------------------------------------------------------- /test/table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/table.js -------------------------------------------------------------------------------- /test/types/any.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/any.js -------------------------------------------------------------------------------- /test/types/array.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/array.js -------------------------------------------------------------------------------- /test/types/boolean.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/boolean.js -------------------------------------------------------------------------------- /test/types/date.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/date.js -------------------------------------------------------------------------------- /test/types/datetime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/datetime.js -------------------------------------------------------------------------------- /test/types/duration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/duration.js -------------------------------------------------------------------------------- /test/types/geojson.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/geojson.js -------------------------------------------------------------------------------- /test/types/geopoint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/geopoint.js -------------------------------------------------------------------------------- /test/types/integer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/integer.js -------------------------------------------------------------------------------- /test/types/number.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/number.js -------------------------------------------------------------------------------- /test/types/object.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/object.js -------------------------------------------------------------------------------- /test/types/string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/string.js -------------------------------------------------------------------------------- /test/types/time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/time.js -------------------------------------------------------------------------------- /test/types/year.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/year.js -------------------------------------------------------------------------------- /test/types/yearmonth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/types/yearmonth.js -------------------------------------------------------------------------------- /test/validate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/test/validate.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/frictionlessdata/tableschema-js/HEAD/webpack.config.js --------------------------------------------------------------------------------