Node gm - How to resize an image without keeping its ratio?

As title, I'm using node gm (GraphicsMagick for node), I wonder how to resize an image (ignoring its ratio).

To me this don't work I had to add an extra parameter to make it.

    var gm = require('gm');

    gm('/path/to/image.jpg')
      .resize(353, 257, "!") //Add exclamation mark
      .autoOrient()
      .write('/path/to/newImage.jpg', function (err) {
        if (!err) console.log(' hooray! ');
      });

Do you really want to ignore the ratio? If yes, you could simply use the example from gm's website:

var gm = require('gm');

gm('/path/to/image.jpg')
  .resize(353, 257) // use your own width and height
  .autoOrient()
  .write(writeStream, function (err) {
    if (!err) console.log(' hooray! ');
  });