- Jan 04, 2023
-
-
Isabella Skořepová authored
``` import fs from 'fs' import path from 'path' for (const file of traverse('content/articles')) { if (!file.endsWith('.md')) continue const dir = file.replace(/\.md$/, '') fs.mkdirSync(dir) fs.renameSync(file, path.join(dir, path.basename(file))) } function traverse(pathname) { const stat = fs.statSync(pathname) if (stat.isFile()) { return [pathname] } else if (stat.isDirectory()) { return fs .readdirSync(pathname) .map((v) => traverse(path.join(pathname, v))) .flat() } return [] } ```
-
- Aug 15, 2020
-
-
Isabella Skořepová authored
-
- Nov 06, 2019
-
-
Isabella Skořepová authored
-
Isabella Skořepová authored
-
- Jun 13, 2019
-
-
Isabella Skořepová authored
-
- Oct 26, 2017
-
-
Isabella Skořepová authored
-
- Jan 21, 2017
-
-
Isabella Skořepová authored
-
- Jan 16, 2017
-
-
Isabella Skořepová authored
+ Nástroj v nodejs na přetagování složky
-
- Dec 29, 2016
-
-
Isabella Skořepová authored
-
- Feb 20, 2016
-
-
Miroslav Koncik authored
-
- Mar 11, 2014
-
-
ok1ubo authored
(Autoexportován z Joomly)
-