Skip to content

DevMagic/node-sequential-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage Examples

See # Convert Sample Tests

Writing

Below, wee saw a definition of file

{
  '1': [
    {name: 'id', init: 1, len: 3, type: FORMAT.NUMBER},
    {name: 'date', init: 4, len: 8, type: FORMAT.DATE}
  ],
  '2': [
    {name: 'id', init: 1, len: 3, type: FORMAT.TEXT},
    {name: 'date', init: 4, len: 8, type: FORMAT.NUMBER}
  ]
}

This object

{ '1': [ { id: 10, date: '21' } ], '2': [ { id: 10, date: '21' }, { id: 10, date: '21' } ] }

TODO: This format is a litle different from READER, we need to refactor de READER

About

Sequential File Reader and Writer

Resources

Stars

Watchers

Forks

Packages

No packages published