duster/js/test_cases/surrounding_whitespace
..
README.md
input1.json
main.dust

README.md

Through experimentation I have determined that DustJS erases all preceding whitespace (spaces, tabs, and newlines) but only trims trailing newlines.