UNPKG
@gmod/bed
Version:
latest (2.2.6)
2.2.6
2.2.5
2.2.3
2.2.2
2.2.1
2.2.0
2.1.10
2.1.9
2.1.8
2.1.7
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A BED file format parser with autoSql support
github.com/GMOD/bed-js
GMOD/bed-js
@gmod/bed
/
src
/
defaultTypes.ts
12 lines
(9 loc)
•
282 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
*
as
types
from
'./as/autoSqlSchemas.ts'
import
{ parse }
from
'./autoSql.js'
import
type
{
AutoSqlPreSchema
}
from
'./util.ts'
export
default
Object
.
fromEntries
(
Object
.
entries
(types).
map
(
(
[key, value]
) =>
[ key,
parse
(value.
trim
())
as
AutoSqlPreSchema
, ]), )