JSFiddle - React, Tailwind, and code Playground

HTML

<pre id=res></pre>

JavaScript

var s = "0 60 120 180 'node name' 2 34 45 12";
var arr = [];
s.split("'").forEach(function(v,i){
    arr = arr.concat(i%2 ? v : v.trim().split(' '))
});
document.getElementById('res').innerHTML = JSON.stringify(arr);