Agnik7/flowscript-docs-the-scripting-river-guide
0
1<!DOCTYPE html>2<html lang="en" class="light">3<head>4 <meta charset="UTF-8">5 <meta name="viewport" content="width=device-width, initial-scale=1.0">6 <meta name="description" content="Comprehensive documentation for FlowScript - The ultimate scripting solution for data flows">7 <title>FlowScript Documentation</title>8 <link rel="icon" type="image/x-icon" href="/static/favicon.ico">9 <link rel="stylesheet" href="style.css">10 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/github-dark.min.css">11 <script src="https://cdn.tailwindcss.com"></script>12 <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>13 <script src="https://unpkg.com/feather-icons"></script>14 <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>15 <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>16 <script type="application/ld+json">17 {18 "@context": "https://schema.org",19 "@type": "WebSite",20 "name": "FlowScript Documentation",21 "url": "https://flowscript.dev/docs",22 "potentialAction": {23 "@type": "SearchAction",24 "target": "https://flowscript.dev/docs?q={search_term_string}",25 "query-input": "required name=search_term_string"26 }27 }28 </script>29</head>30<body class="bg-gray-50 dark:bg-gray-900 transition-colors duration-200">31 <custom-navbar></custom-navbar>32 <div class="flex">33 <custom-sidebar></custom-sidebar>34 35 <main class="flex-1 p-8 max-w-5xl mx-auto">36 <section class="hero mb-16">37 <div class="text-center py-12">38 <h1 class="text-5xl font-bold text-gray-900 dark:text-white mb-6">39 FlowScript <span class="text-blue-600 dark:text-blue-400">Documentation</span>40 </h1>41 <p class="text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-3xl mx-auto">42 The ultimate scripting solution for building powerful data flows and pipelines.43 </p>44 <div class="flex justify-center gap-4">45 <a href="/getting-started" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium transition">46 Get Started47 </a>48 <a href="/api-reference" class="border border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-800 px-6 py-3 rounded-lg font-medium transition">49 API Reference50 </a>51 </div>52 </div>53 </section>54 55 <section class="quickstart mb-16">56 <div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6">57 <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-4">Quick Start</h2>58 <div class="grid md:grid-cols-2 gap-6">59 <div>60 <h3 class="text-lg font-semibold text-gray-700 dark:text-gray-300 mb-3">Installation</h3>61 <pre class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 overflow-x-auto">62 <code class="language-bash">npm install flowscript --save</code>63 </pre>64 </div>65 <div>66 <h3 class="text-lg font-semibold text-gray-700 dark:text-gray-300 mb-3">Basic Usage</h3>67 <pre class="bg-gray-100 dark:bg-gray-700 rounded-lg p-4 overflow-x-auto">68 <code class="language-javascript">import { Flow } from 'flowscript';69 70const pipeline = new Flow()71 .from(source)72 .transform(data => process(data))73 .to(destination);74 75pipeline.run();</code>76 </pre>77 </div>78 </div>79 </div>80 </section>81 82 <section class="features mb-16">83 <h2 class="text-2xl font-bold text-gray-800 dark:text-white mb-6">Key Features</h2>84 <div class="grid md:grid-cols-3 gap-6">85 <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow">86 <div class="w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mb-4">87 <i data-feather="zap" class="text-blue-600 dark:text-blue-400"></i>88 </div>89 <h3 class="text-lg font-semibold text-gray-800 dark:text-white mb-2">Lightning Fast</h3>90 <p class="text-gray-600 dark:text-gray-400">Optimized execution with minimal overhead for high-performance data processing.</p>91 </div>92 <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow">93 <div class="w-12 h-12 bg-purple-100 dark:bg-purple-900 rounded-lg flex items-center justify-center mb-4">94 <i data-feather="code" class="text-purple-600 dark:text-purple-400"></i>95 </div>96 <h3 class="text-lg font-semibold text-gray-800 dark:text-white mb-2">Expressive Syntax</h3>97 <p class="text-gray-600 dark:text-gray-400">Clean, chainable API that makes complex flows easy to read and write.</p>98 </div>99 <div class="bg-white dark:bg-gray-800 rounded-xl p-6 shadow">100 <div class="w-12 h-12 bg-green-100 dark:bg-green-900 rounded-lg flex items-center justify-center mb-4">101 <i data-feather="cpu" class="text-green-600 dark:text-green-400"></i>102 </div>103 <h3 class="text-lg font-semibold text-gray-800 dark:text-white mb-2">Extensible</h3>104 <p class="text-gray-600 dark:text-gray-400">Plugins and custom operators let you extend functionality as needed.</p>105 </div>106 </div>107 </section>108 </main>109 110 <custom-toc></custom-toc>111 </div>112 113 <custom-footer></custom-footer>114 115 <script src="components/navbar.js"></script>116 <script src="components/sidebar.js"></script>117 <script src="components/footer.js"></script>118 <script src="components/toc.js"></script>119 <script src="script.js"></script>120 <script>121 feather.replace();122 hljs.highlightAll();123 </script>124<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>125</body>126</html>