{"id":4099,"date":"2025-10-10T08:27:04","date_gmt":"2025-10-10T08:27:04","guid":{"rendered":"https:\/\/thoth.dk\/?p=4099"},"modified":"2026-02-21T19:46:00","modified_gmt":"2026-02-21T19:46:00","slug":"playground-i-npx","status":"publish","type":"post","link":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/","title":{"rendered":"Playground i NPX (node.js)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">WordPress Playground er et nyttigt redskab, hvis du vil afpr\u00f8ve et tema eller andre eksperimenter, hvor du har brug for at tingene k\u00f8rer i en &#8220;sandkasse&#8221;. Playground kr\u00e6ver en god webforbindelse. Derfor kan det v\u00e6re en fordel, n\u00e5r programmet k\u00f8rer p\u00e5 din egen computer i stedet for en langsom server et andet sted p\u00e5 nettet. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Heldigvis kan Playground k\u00f8re p\u00e5 en <a href=\"https:\/\/www.npmjs.com\/package\/@wp-playground\/cli#quickstart\">NPX-server<\/a>, som er indbygget i Node.js.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">G\u00f8r s\u00e5dan:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Installer <a href=\"https:\/\/nodejs.org\/en\/download\">Node.js<\/a> (hvis du ikke har det allerede)<\/li>\n\n\n\n<li>K\u00f8r denne kommando i en terminal:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>npx @wp-playground\/cli@latest server --login<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Derefter skal du \u00e5bne din browser i den url, som st\u00e5r p\u00e5 sk\u00e6rmen, det er typisk en lokal server port 9400; men portnummeret kan s\u00e6ttes til noget andet, hvis det er mere praktisk. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Parameteret &#8220;<em>&#8211;login<\/em>&#8221; \u00e5bner en WP hvor en administrator logget ind. Derfor kan du installere og afpr\u00f8ve indstillinger, temaer, plugins, temaer og meget andet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c5bn derefter din browser i denne adresse:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;127.0.0.1:9400<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Resultatet ser du her &#8211; en rimeligt blank version af WP-standardtemaet (her Twenty Twenty-five).<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a3e2974053d5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a3e2974053d5\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1017\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5-1024x1017.png\" alt=\"\" class=\"wp-image-4100\" srcset=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5-1024x1017.png 1024w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5-300x298.png 300w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5-150x150.png 150w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5-768x762.png 768w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-serveren-tt5.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Serveren k\u00f8rer p\u00e5 http:\/\/127.0.0.1:9400<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Afpr\u00f8v plugins<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">N\u00e5r du logger ind kan du installere og afpr\u00f8ve plugins fra kontrolpanelet.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a3e297405a39&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a3e297405a39\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"943\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/plugins-1024x943.png\" alt=\"\" class=\"wp-image-4108\" srcset=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/plugins-1024x943.png 1024w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/plugins-300x276.png 300w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/plugins-768x707.png 768w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/plugins.png 1191w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Kontrolpanelet klar til afpr\u00f8vning af plugins.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Temaer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Du kan ogs\u00e5 installere og afpr\u00f8ve de mange temaer fra WordPress. P\u00e5 billedet herunder har jeg installeret et tema, som jeg selv har programmeret. Du kan ogs\u00e5 afpr\u00f8ve andres temaer:<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a3e297405e12&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a3e297405e12\" class=\"wp-block-image size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"675\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test-1024x675.png\" alt=\"\" class=\"wp-image-4111\" srcset=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test-1024x675.png 1024w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test-300x198.png 300w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test-768x506.png 768w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png 1184w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Temaerne afpr\u00f8ves i Playground.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Manualen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Den viste konfiguration slettes, n\u00e5r du lukker terminalen ned. Men du kan ogs\u00e5 g\u00f8re Playground mere permanent ved at bruge et lokalt directory, hvor filer og indstillinger gemmes. Det sidste er praktisk, hvis du vil genbruge dit arbejde.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Denne kommando \u00e5bner for manualen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>npx @wp-playground\/cli@latest server --help<\/code><\/pre>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;6a3e2974061be&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"6a3e2974061be\" class=\"wp-block-image alignwide size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"536\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-man-1024x536.png\" alt=\"\" class=\"wp-image-4101\" srcset=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-man-1024x536.png 1024w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-man-300x157.png 300w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-man-768x402.png 768w, https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/npx-man.png 1382w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\tdata-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.thisImage.buttonRight\"\n\t\t\tdata-wp-style--top=\"state.thisImage.buttonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress Playground er et nyttigt redskab, hvis du vil afpr\u00f8ve et tema eller andre eksperimenter, hvor du har brug for at tingene k\u00f8rer i en &#8220;sandkasse&#8221;. Playground kr\u00e6ver en god webforbindelse. Derfor kan det v\u00e6re en fordel, n\u00e5r programmet k\u00f8rer p\u00e5 din egen computer i stedet for en langsom server et andet sted p\u00e5 nettet. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4111,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[31,24,23,173,21],"tags":[159,158,56],"class_list":["post-4099","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-multimediedesign","category-programming","category-tutorials","category-wordpress","category-dk","tag-node-js","tag-npx","tag-playground"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Playground i NPX (node.js) - Wordpress og WooCommerce<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/\" \/>\n<meta property=\"og:locale\" content=\"da_DK\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Playground i NPX (node.js) - Wordpress og WooCommerce\" \/>\n<meta property=\"og:description\" content=\"WordPress Playground er et nyttigt redskab, hvis du vil afpr\u00f8ve et tema eller andre eksperimenter, hvor du har brug for at tingene k\u00f8rer i en &#8220;sandkasse&#8221;. Playground kr\u00e6ver en god webforbindelse. Derfor kan det v\u00e6re en fordel, n\u00e5r programmet k\u00f8rer p\u00e5 din egen computer i stedet for en langsom server et andet sted p\u00e5 nettet. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/\" \/>\n<meta property=\"og:site_name\" content=\"Wordpress og WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-10T08:27:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-21T19:46:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1184\" \/>\n\t<meta property=\"og:image:height\" content=\"780\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Per Thykj\u00e6r Jensen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Skrevet af\" \/>\n\t<meta name=\"twitter:data1\" content=\"Per Thykj\u00e6r Jensen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimeret l\u00e6setid\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutter\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/\"},\"author\":{\"name\":\"Per Thykj\u00e6r Jensen\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\"},\"headline\":\"Playground i NPX (node.js)\",\"datePublished\":\"2025-10-10T08:27:04+00:00\",\"dateModified\":\"2026-02-21T19:46:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/\"},\"wordCount\":293,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/tema-test.png\",\"keywords\":[\"node.js\",\"npx\",\"Playground\"],\"articleSection\":[\"Multimediedesign\",\"Programming\",\"Tutorials\",\"WordPress\",\"\ud83c\udde9\ud83c\uddf0 Danske Tutorials\"],\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/\",\"url\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/\",\"name\":\"Playground i NPX (node.js) - Wordpress og WooCommerce\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/tema-test.png\",\"datePublished\":\"2025-10-10T08:27:04+00:00\",\"dateModified\":\"2026-02-21T19:46:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#breadcrumb\"},\"inLanguage\":\"da-DK\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/tema-test.png\",\"contentUrl\":\"https:\\\/\\\/thoth.dk\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/tema-test.png\",\"width\":1184,\"height\":780},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/2025\\\/10\\\/10\\\/playground-i-npx\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thoth.dk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Playground i NPX (node.js)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#website\",\"url\":\"https:\\\/\\\/thoth.dk\\\/\",\"name\":\"Wordpress og WooCommerce\",\"description\":\"Syv kreative dage med WordPress og WooCommerce\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thoth.dk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"da-DK\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thoth.dk\\\/#\\\/schema\\\/person\\\/d94ae14e2a45089632b96d9f633fac06\",\"name\":\"Per Thykj\u00e6r Jensen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"da-DK\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g\",\"caption\":\"Per Thykj\u00e6r Jensen\"},\"description\":\"P\u00e5 Thoth.dk kan du finde tutorials og artikler om udvikling af websites med WordPress og online shopping med WooCommerce. Der er fokus p\u00e5 de nyeste blokbaserede temaer og metoder. Materialer og tutorials er udviklet af Per Thykj\u00e6r Jensen, lektor p\u00e5 Multimediedesigneruddannelsen ved Erhvervsakademi Aarhus.\",\"sameAs\":[\"https:\\\/\\\/thoth.dk\"],\"url\":\"https:\\\/\\\/thoth.dk\\\/index.php\\\/author\\\/per\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Playground i NPX (node.js) - Wordpress og WooCommerce","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/","og_locale":"da_DK","og_type":"article","og_title":"Playground i NPX (node.js) - Wordpress og WooCommerce","og_description":"WordPress Playground er et nyttigt redskab, hvis du vil afpr\u00f8ve et tema eller andre eksperimenter, hvor du har brug for at tingene k\u00f8rer i en &#8220;sandkasse&#8221;. Playground kr\u00e6ver en god webforbindelse. Derfor kan det v\u00e6re en fordel, n\u00e5r programmet k\u00f8rer p\u00e5 din egen computer i stedet for en langsom server et andet sted p\u00e5 nettet. [&hellip;]","og_url":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/","og_site_name":"Wordpress og WooCommerce","article_published_time":"2025-10-10T08:27:04+00:00","article_modified_time":"2026-02-21T19:46:00+00:00","og_image":[{"width":1184,"height":780,"url":"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png","type":"image\/png"}],"author":"Per Thykj\u00e6r Jensen","twitter_card":"summary_large_image","twitter_misc":{"Skrevet af":"Per Thykj\u00e6r Jensen","Estimeret l\u00e6setid":"3 minutter"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#article","isPartOf":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/"},"author":{"name":"Per Thykj\u00e6r Jensen","@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06"},"headline":"Playground i NPX (node.js)","datePublished":"2025-10-10T08:27:04+00:00","dateModified":"2026-02-21T19:46:00+00:00","mainEntityOfPage":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/"},"wordCount":293,"commentCount":0,"image":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#primaryimage"},"thumbnailUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png","keywords":["node.js","npx","Playground"],"articleSection":["Multimediedesign","Programming","Tutorials","WordPress","\ud83c\udde9\ud83c\uddf0 Danske Tutorials"],"inLanguage":"da-DK","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/","url":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/","name":"Playground i NPX (node.js) - Wordpress og WooCommerce","isPartOf":{"@id":"https:\/\/thoth.dk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#primaryimage"},"image":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#primaryimage"},"thumbnailUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png","datePublished":"2025-10-10T08:27:04+00:00","dateModified":"2026-02-21T19:46:00+00:00","author":{"@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06"},"breadcrumb":{"@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#breadcrumb"},"inLanguage":"da-DK","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/"]}]},{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#primaryimage","url":"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png","contentUrl":"https:\/\/thoth.dk\/wp-content\/uploads\/2025\/10\/tema-test.png","width":1184,"height":780},{"@type":"BreadcrumbList","@id":"https:\/\/thoth.dk\/index.php\/2025\/10\/10\/playground-i-npx\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thoth.dk\/"},{"@type":"ListItem","position":2,"name":"Playground i NPX (node.js)"}]},{"@type":"WebSite","@id":"https:\/\/thoth.dk\/#website","url":"https:\/\/thoth.dk\/","name":"Wordpress og WooCommerce","description":"Syv kreative dage med WordPress og WooCommerce","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thoth.dk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"da-DK"},{"@type":"Person","@id":"https:\/\/thoth.dk\/#\/schema\/person\/d94ae14e2a45089632b96d9f633fac06","name":"Per Thykj\u00e6r Jensen","image":{"@type":"ImageObject","inLanguage":"da-DK","@id":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c742a8215d5628ce5ef34c45460dd1c5211c693c0613635306baeec5c28d7a9?s=96&d=mm&r=g","caption":"Per Thykj\u00e6r Jensen"},"description":"P\u00e5 Thoth.dk kan du finde tutorials og artikler om udvikling af websites med WordPress og online shopping med WooCommerce. Der er fokus p\u00e5 de nyeste blokbaserede temaer og metoder. Materialer og tutorials er udviklet af Per Thykj\u00e6r Jensen, lektor p\u00e5 Multimediedesigneruddannelsen ved Erhvervsakademi Aarhus.","sameAs":["https:\/\/thoth.dk"],"url":"https:\/\/thoth.dk\/index.php\/author\/per\/"}]}},"_links":{"self":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/4099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/comments?post=4099"}],"version-history":[{"count":7,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/4099\/revisions"}],"predecessor-version":[{"id":4334,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/posts\/4099\/revisions\/4334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/media\/4111"}],"wp:attachment":[{"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/media?parent=4099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/categories?post=4099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thoth.dk\/index.php\/wp-json\/wp\/v2\/tags?post=4099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}