Twas is defined as an older English style of writing to mean it was.
An example of twas is the first word of the Night Before Christmas poem by Clement Clarke Moore.
Old Poet. it was
Contraction of it was.
- Common misspelling of 'twas.