website-builder-pricing 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ahsan Sajjad
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,91 @@
1
- # Temporary Holding Version
1
+ # website-builder-pricing
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ A small, open dataset and embeddable widget of website builder **starting prices** (USD/month), published so sites can compare plans and so [Website Builders Directory](https://websitebuilders.directory) has a public, citable data package.
4
+
5
+ Prices are sourced from [Website Builders Directory](https://websitebuilders.directory) listings (via the WordPress REST API at `https://api.websitebuilders.directory`) and checked against each vendor’s official pricing page. Prices are never invented. If a figure could not be confirmed, `startingPriceUsdMo` is `null` and the widget shows “Price data unavailable”.
6
+
7
+ This package is intended to be served from [jsDelivr](https://www.jsdelivr.com/) after it is published to npm:
8
+
9
+ `https://cdn.jsdelivr.net/npm/website-builder-pricing/widget.js`
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npm install website-builder-pricing
15
+ ```
16
+
17
+ ### ESM
18
+
19
+ ```js
20
+ import { builders, getBuilder, cheapest } from "website-builder-pricing";
21
+
22
+ getBuilder("yola");
23
+ // { name: "Yola", startingPriceUsdMo: 9.95, ... }
24
+
25
+ cheapest()[0].name;
26
+ // lowest known starting price first (free plans at $0 come first)
27
+ ```
28
+
29
+ ### CommonJS
30
+
31
+ ```js
32
+ const { builders, getBuilder, cheapest } = require("website-builder-pricing");
33
+ ```
34
+
35
+ ### JSON only
36
+
37
+ ```js
38
+ import data from "website-builder-pricing/data/builders.json" with { type: "json" };
39
+ ```
40
+
41
+ ## Embeddable widget
42
+
43
+ Zero dependencies. Drop in a script tag and a target element:
44
+
45
+ ```html
46
+ <script src="https://cdn.jsdelivr.net/npm/website-builder-pricing/widget.js"></script>
47
+ <div data-wbd-pricing></div>
48
+ ```
49
+
50
+ Optional: limit how many rows are shown.
51
+
52
+ ```html
53
+ <div data-wbd-pricing data-wbd-limit="10"></div>
54
+ ```
55
+
56
+ The widget renders a compact comparison table and a credit line:
57
+
58
+ > Pricing data by [Website Builders Directory](https://websitebuilders.directory).
59
+
60
+ You can also call it from your own script:
61
+
62
+ ```js
63
+ WBDPricing.render(document.getElementById("prices"), { limit: 12 });
64
+ ```
65
+
66
+ ## Data shape
67
+
68
+ Each builder in `data/builders.json` has:
69
+
70
+ | Field | Meaning |
71
+ | --- | --- |
72
+ | `name` | Display name |
73
+ | `slug` | Website Builders Directory tool slug |
74
+ | `startingPriceUsdMo` | Lowest paid (or free-only) starting price in USD per month, or `null` if unconfirmed |
75
+ | `billingNote` | How that price is billed (annual vs monthly, intro vs renewal) |
76
+ | `freePlan` | `true`, `false`, or `null` if unknown |
77
+ | `officialPricingUrl` | Vendor’s official pricing (or product) page |
78
+ | `reviewUrl` | Review on websitebuilders.directory |
79
+ | `lastVerified` | Date the figures were checked (`YYYY-MM-DD`) |
80
+ | `source` | `official` when the official page is used, `wbd` when the listing is used |
81
+ | `wbdListedPrice` | The `starts_at` value from the WBD listing |
82
+ | `note` | Caveats, including any disagreement with the WBD listing |
83
+
84
+ Helpers:
85
+
86
+ - `getBuilder(slug)` — one record, or `undefined`
87
+ - `cheapest()` — records with a numeric price, cheapest first
88
+
89
+ ## License
90
+
91
+ MIT © Ahsan Sajjad
@@ -0,0 +1,345 @@
1
+ {
2
+ "generatedAt": "2026-12-02",
3
+ "currency": "USD",
4
+ "sourceCredit": "Starting prices were taken from Website Builders Directory listings (WordPress REST at https://api.websitebuilders.directory) and checked against each vendor's official pricing page on 2026-12-02. When the official page clearly disagreed, the official price was used and the WBD figure was recorded. Prices were never invented; if an official amount could not be confirmed, the field is null.",
5
+ "builders": [
6
+ {
7
+ "name": "10Web",
8
+ "slug": "10web",
9
+ "startingPriceUsdMo": 10.0,
10
+ "billingNote": "AI Starter is $10/mo billed annually at $120. A $0/mo Free plan is also available.",
11
+ "freePlan": true,
12
+ "officialPricingUrl": "https://10web.io/pricing/",
13
+ "reviewUrl": "https://websitebuilders.directory/tools/10web",
14
+ "lastVerified": "2026-12-02",
15
+ "source": "official",
16
+ "wbdListedPrice": "$10/mo",
17
+ "note": "Matches the WBD listing of $10/mo."
18
+ },
19
+ {
20
+ "name": "Beaver Builder",
21
+ "slug": "beaver-builder",
22
+ "startingPriceUsdMo": 7.42,
23
+ "billingNote": "Starter plan is $89/year for 1 site (about $7.42/mo). 30-day refund, not a free plan.",
24
+ "freePlan": false,
25
+ "officialPricingUrl": "https://www.wpbeaverbuilder.com/pricing/",
26
+ "reviewUrl": "https://websitebuilders.directory/tools/beaver-builder",
27
+ "lastVerified": "2026-12-02",
28
+ "source": "official",
29
+ "wbdListedPrice": "$89/yr",
30
+ "note": "Matches the WBD listing of $89/yr."
31
+ },
32
+ {
33
+ "name": "Bricks Builder",
34
+ "slug": "bricks-builder",
35
+ "startingPriceUsdMo": 6.58,
36
+ "billingNote": "Starter plan is USD 79/year for 1 website (about $6.58/mo). Business is $149/year; Agency $249/year; Ultimate is $599 lifetime.",
37
+ "freePlan": false,
38
+ "officialPricingUrl": "https://bricksbuilder.io/pricing/",
39
+ "reviewUrl": "https://websitebuilders.directory/tools/bricks-builder",
40
+ "lastVerified": "2026-12-02",
41
+ "source": "official",
42
+ "wbdListedPrice": "$79/yr",
43
+ "note": "Matches the WBD listing of $79/yr."
44
+ },
45
+ {
46
+ "name": "Brizy",
47
+ "slug": "brizy",
48
+ "startingPriceUsdMo": 19.0,
49
+ "billingNote": "Brizy Cloud Personal is $19/mo, or $190/year. Agency is $69/mo. A holiday promo was also shown and is not used here.",
50
+ "freePlan": false,
51
+ "officialPricingUrl": "https://www.brizy.io/pricing",
52
+ "reviewUrl": "https://websitebuilders.directory/tools/brizy",
53
+ "lastVerified": "2026-12-02",
54
+ "source": "official",
55
+ "wbdListedPrice": "$19/mo",
56
+ "note": "Matches the WBD listing of $19/mo (regular Personal monthly price, not the holiday promo)."
57
+ },
58
+ {
59
+ "name": "Bubble",
60
+ "slug": "bubble",
61
+ "startingPriceUsdMo": 29.0,
62
+ "billingNote": "WBD lists $29/mo. Official pricing page title confirms you can start free, but plan amounts were JavaScript-rendered and could not be read in this check.",
63
+ "freePlan": true,
64
+ "officialPricingUrl": "https://bubble.io/pricing",
65
+ "reviewUrl": "https://websitebuilders.directory/tools/bubble",
66
+ "lastVerified": "2026-12-02",
67
+ "source": "wbd",
68
+ "wbdListedPrice": "$29/mo",
69
+ "note": "Paid price taken from the WBD listing. Official page was JS-rendered, so the $29/mo figure was not independently confirmed. Free plan inferred from the official page title ('Start Free, Scale as You Grow')."
70
+ },
71
+ {
72
+ "name": "Canva",
73
+ "slug": "canva-website-builder",
74
+ "startingPriceUsdMo": null,
75
+ "billingNote": "Official page lists Free, Pro, Business, and Enterprise plans. The current USD starting price could not be confirmed from the JavaScript-rendered official pricing page.",
76
+ "freePlan": true,
77
+ "officialPricingUrl": "https://www.canva.com/pricing/",
78
+ "reviewUrl": "https://websitebuilders.directory/tools/canva-website-builder",
79
+ "lastVerified": "2026-12-02",
80
+ "source": "wbd",
81
+ "wbdListedPrice": "$6.50/mo",
82
+ "note": "WBD listing showed $6.50/mo, which looked unusually low for current Canva Pro. Official pricing page is JS-rendered and the USD amount could not be confirmed, so startingPriceUsdMo is omitted."
83
+ },
84
+ {
85
+ "name": "Carrd",
86
+ "slug": "carrd",
87
+ "startingPriceUsdMo": 1.58,
88
+ "billingNote": "Pro starts at $19/year (about $1.58/mo). A free plan is available; Pro has a 7-day trial.",
89
+ "freePlan": true,
90
+ "officialPricingUrl": "https://carrd.co/",
91
+ "reviewUrl": "https://websitebuilders.directory/tools/carrd",
92
+ "lastVerified": "2026-12-02",
93
+ "source": "official",
94
+ "wbdListedPrice": "$19/yr",
95
+ "note": "Matches the WBD listing of $19/yr."
96
+ },
97
+ {
98
+ "name": "Divi",
99
+ "slug": "divi",
100
+ "startingPriceUsdMo": 7.42,
101
+ "billingNote": "WBD lists $89/year (about $7.42/mo). Official page on this date was a Cyber Monday 2026 sale and did not clearly show a regular $89/year price.",
102
+ "freePlan": false,
103
+ "officialPricingUrl": "https://www.elegantthemes.com/pricing",
104
+ "reviewUrl": "https://websitebuilders.directory/tools/divi",
105
+ "lastVerified": "2026-12-02",
106
+ "source": "wbd",
107
+ "wbdListedPrice": "$89/yr",
108
+ "note": "Price taken from the WBD listing. The official Elegant Themes page was a sale landing page; a regular yearly price could not be independently confirmed, so the WBD figure is kept with this caveat."
109
+ },
110
+ {
111
+ "name": "Duda",
112
+ "slug": "duda-builder",
113
+ "startingPriceUsdMo": 19.0,
114
+ "billingNote": "Basic is $19/mo billed annually, or $25/mo billed monthly. 14-day trial; no free plan. Team is $29/mo annual; Agency $52/mo annual.",
115
+ "freePlan": false,
116
+ "officialPricingUrl": "https://www.duda.co/pricing",
117
+ "reviewUrl": "https://websitebuilders.directory/tools/duda-builder",
118
+ "lastVerified": "2026-12-02",
119
+ "source": "official",
120
+ "wbdListedPrice": "$25/mo",
121
+ "note": "WBD listing showed $25/mo (the Basic month-to-month rate). Official lowest paid price is $19/mo billed annually. Official annual price used."
122
+ },
123
+ {
124
+ "name": "Durable",
125
+ "slug": "durable",
126
+ "startingPriceUsdMo": 22.0,
127
+ "billingNote": "Launch is $22/mo on yearly billing, or $25/mo month-to-month. A Free plan at $0 is available (Durable subdomain). Grow is $41/mo yearly or $49/mo monthly.",
128
+ "freePlan": true,
129
+ "officialPricingUrl": "https://durable.co/pricing",
130
+ "reviewUrl": "https://websitebuilders.directory/tools/durable",
131
+ "lastVerified": "2026-12-02",
132
+ "source": "official",
133
+ "wbdListedPrice": "$15/mo",
134
+ "note": "WBD listing showed $15/mo. Official lowest paid plan is Launch at $22/mo billed yearly. Official price used."
135
+ },
136
+ {
137
+ "name": "Elementor",
138
+ "slug": "elementor-website-builder",
139
+ "startingPriceUsdMo": 5.0,
140
+ "billingNote": "Official plans start from $60/year ($5.00/mo). A free Elementor plugin is also available on WordPress.org.",
141
+ "freePlan": true,
142
+ "officialPricingUrl": "https://elementor.com/pricing/",
143
+ "reviewUrl": "https://websitebuilders.directory/tools/elementor-website-builder",
144
+ "lastVerified": "2026-12-02",
145
+ "source": "official",
146
+ "wbdListedPrice": "$4.92/mo",
147
+ "note": "WBD listing showed $4.92/mo (consistent with a former $59/year plan). Official page meta describes plans starting from $60/year. Official $60/year used."
148
+ },
149
+ {
150
+ "name": "Framer",
151
+ "slug": "framer",
152
+ "startingPriceUsdMo": 10.0,
153
+ "billingNote": "Basic is $10/mo on yearly billing. A Free plan at $0 is available. Pro is $30/mo.",
154
+ "freePlan": true,
155
+ "officialPricingUrl": "https://www.framer.com/pricing/",
156
+ "reviewUrl": "https://websitebuilders.directory/tools/framer",
157
+ "lastVerified": "2026-12-02",
158
+ "source": "official",
159
+ "wbdListedPrice": "$5/mo",
160
+ "note": "WBD listing showed $5/mo. Official Basic plan is $10/mo on yearly billing. Official price used."
161
+ },
162
+ {
163
+ "name": "GoDaddy Website Builder",
164
+ "slug": "godaddy",
165
+ "startingPriceUsdMo": 9.99,
166
+ "billingNote": "WBD lists $9.99/mo. Official pricing could not be independently verified in this check (the GoDaddy site returned HTTP 403).",
167
+ "freePlan": null,
168
+ "officialPricingUrl": "https://www.godaddy.com/websites/website-builder",
169
+ "reviewUrl": "https://websitebuilders.directory/tools/godaddy",
170
+ "lastVerified": "2026-12-02",
171
+ "source": "wbd",
172
+ "wbdListedPrice": "$9.99/mo",
173
+ "note": "Price taken from the WBD listing only. Official page was not readable (HTTP 403), so free-plan status is unknown."
174
+ },
175
+ {
176
+ "name": "Google Sites",
177
+ "slug": "google-sites",
178
+ "startingPriceUsdMo": 0,
179
+ "billingNote": "Free with a Google account. No paid Sites-only plan; Google Workspace is sold separately.",
180
+ "freePlan": true,
181
+ "officialPricingUrl": "https://workspace.google.com/products/sites/",
182
+ "reviewUrl": "https://websitebuilders.directory/tools/google-sites",
183
+ "lastVerified": "2026-12-02",
184
+ "source": "official",
185
+ "wbdListedPrice": "Free",
186
+ "note": null
187
+ },
188
+ {
189
+ "name": "Hostinger Website Builder",
190
+ "slug": "hostinger-website-builder",
191
+ "startingPriceUsdMo": 1.99,
192
+ "billingNote": "Introductory Premium price is $1.99/mo when billed for 48 months ($95.52 today). Renews at $10.99/mo. Higher plans also have intro rates.",
193
+ "freePlan": false,
194
+ "officialPricingUrl": "https://www.hostinger.com/website-builder",
195
+ "reviewUrl": "https://websitebuilders.directory/tools/hostinger-website-builder",
196
+ "lastVerified": "2026-12-02",
197
+ "source": "official",
198
+ "wbdListedPrice": "$2.49/mo",
199
+ "note": "WBD listing showed $2.49/mo (a previous promo). Official page currently advertises $1.99/mo intro for 48 months, renewing at $10.99/mo. Official intro price used, with renewal in the billing note."
200
+ },
201
+ {
202
+ "name": "Jimdo",
203
+ "slug": "jimdo",
204
+ "startingPriceUsdMo": 12.0,
205
+ "billingNote": "Start is US$12/mo when billed every 12 months (US$144/year). A Free plan at US$0/mo is available. Grow is US$20/mo annual; Unlimited is US$50/mo annual.",
206
+ "freePlan": true,
207
+ "officialPricingUrl": "https://www.jimdo.com/pricing/",
208
+ "reviewUrl": "https://websitebuilders.directory/tools/jimdo",
209
+ "lastVerified": "2026-12-02",
210
+ "source": "official",
211
+ "wbdListedPrice": "$11/mo",
212
+ "note": "WBD listing showed $11/mo. Official Start plan is US$12/mo billed annually. Official price used."
213
+ },
214
+ {
215
+ "name": "Odoo",
216
+ "slug": "odoo",
217
+ "startingPriceUsdMo": 0,
218
+ "billingNote": "One App Free plan is $0 for one app and unlimited users. Paid Standard starts at US$8.95 per user per month on the official pricing page.",
219
+ "freePlan": true,
220
+ "officialPricingUrl": "https://www.odoo.com/pricing",
221
+ "reviewUrl": "https://websitebuilders.directory/tools/odoo",
222
+ "lastVerified": "2026-12-02",
223
+ "source": "official",
224
+ "wbdListedPrice": "Free",
225
+ "note": null
226
+ },
227
+ {
228
+ "name": "Squarespace",
229
+ "slug": "squarespace",
230
+ "startingPriceUsdMo": 12.0,
231
+ "billingNote": "Basic is $12/mo billed annually, or $19/mo month-to-month. 14-day trial; no free plan. Core is $17/mo annual or $27/mo monthly; Advanced is $25/mo annual or $36/mo monthly.",
232
+ "freePlan": false,
233
+ "officialPricingUrl": "https://www.squarespace.com/pricing",
234
+ "reviewUrl": "https://websitebuilders.directory/tools/squarespace",
235
+ "lastVerified": "2026-12-02",
236
+ "source": "official",
237
+ "wbdListedPrice": "$25/mo",
238
+ "note": "WBD listing showed $25/mo (the Advanced annual rate, or an older starting price). Official lowest paid plan is Basic at $12/mo billed annually. Official Basic price used."
239
+ },
240
+ {
241
+ "name": "Strikingly",
242
+ "slug": "strikingly-ai",
243
+ "startingPriceUsdMo": 8.0,
244
+ "billingNote": "Limited plan is $8/mo USD billed yearly. Pro is $16/mo billed yearly; VIP is $49/mo billed yearly. A free plan is available.",
245
+ "freePlan": true,
246
+ "officialPricingUrl": "https://www.strikingly.com/s/pricing",
247
+ "reviewUrl": "https://websitebuilders.directory/tools/strikingly-ai",
248
+ "lastVerified": "2026-12-02",
249
+ "source": "official",
250
+ "wbdListedPrice": "$12/mo",
251
+ "note": "WBD listing showed $12/mo. Official lowest paid plan is Limited at $8/mo billed yearly. Official Limited price used."
252
+ },
253
+ {
254
+ "name": "Tilda",
255
+ "slug": "tilda",
256
+ "startingPriceUsdMo": 10.0,
257
+ "billingNote": "Personal is $10/month with annual payment, or $15/month month-to-month. A Free plan for 1 website is available. Business is $20/month annual or $25/month.",
258
+ "freePlan": true,
259
+ "officialPricingUrl": "https://tilda.cc/pricing/",
260
+ "reviewUrl": "https://websitebuilders.directory/tools/tilda",
261
+ "lastVerified": "2026-12-02",
262
+ "source": "official",
263
+ "wbdListedPrice": "$15/mo",
264
+ "note": "WBD listing showed $15/mo (the month-to-month Personal rate). Official lowest paid price is $10/mo with annual payment. Official annual price used."
265
+ },
266
+ {
267
+ "name": "Webflow",
268
+ "slug": "webflow",
269
+ "startingPriceUsdMo": 15.0,
270
+ "billingNote": "Site plan Basic is $15/mo billed yearly (for sites that don't need a CMS). A free Starter workspace is available.",
271
+ "freePlan": true,
272
+ "officialPricingUrl": "https://webflow.com/pricing",
273
+ "reviewUrl": "https://websitebuilders.directory/tools/webflow",
274
+ "lastVerified": "2026-12-02",
275
+ "source": "official",
276
+ "wbdListedPrice": "$18/mo",
277
+ "note": "WBD listing showed $18/mo. Official lowest paid site plan is Basic at $15/mo billed yearly. Official price used."
278
+ },
279
+ {
280
+ "name": "Webnode",
281
+ "slug": "webnode",
282
+ "startingPriceUsdMo": 4.5,
283
+ "billingNote": "Limited plan is $4.50/mo on annual billing (regular listed price $6.50/mo). Month-to-month Limited is not offered.",
284
+ "freePlan": false,
285
+ "officialPricingUrl": "https://www.webnode.com/pricing-w2/?currency=USD",
286
+ "reviewUrl": "https://websitebuilders.directory/tools/webnode",
287
+ "lastVerified": "2026-12-02",
288
+ "source": "official",
289
+ "wbdListedPrice": "$4.50/mo",
290
+ "note": "Matches the WBD listing of $4.50/mo (current advertised annual Limited price)."
291
+ },
292
+ {
293
+ "name": "Weebly",
294
+ "slug": "weebly",
295
+ "startingPriceUsdMo": 13.0,
296
+ "billingNote": "Personal is $13/mo billed annually, or $16 month-to-month. A Free plan is available.",
297
+ "freePlan": true,
298
+ "officialPricingUrl": "https://www.weebly.com/pricing",
299
+ "reviewUrl": "https://websitebuilders.directory/tools/weebly",
300
+ "lastVerified": "2026-12-02",
301
+ "source": "official",
302
+ "wbdListedPrice": "$13/mo",
303
+ "note": "Matches the WBD listing of $13/mo (Personal billed annually)."
304
+ },
305
+ {
306
+ "name": "Wix",
307
+ "slug": "wix-builder-website",
308
+ "startingPriceUsdMo": 17.0,
309
+ "billingNote": "WBD lists Light at $17/mo. A Free plan is available on the official plans page. Official prices vary by location and may include tax.",
310
+ "freePlan": true,
311
+ "officialPricingUrl": "https://www.wix.com/plans",
312
+ "reviewUrl": "https://websitebuilders.directory/tools/wix-builder-website",
313
+ "lastVerified": "2026-12-02",
314
+ "source": "wbd",
315
+ "wbdListedPrice": "$17/mo",
316
+ "note": "Official plans page confirmed a Free plan and Light as the lowest paid plan, but this check was geo-priced (Light shown at $17.77/mo including GST, with a note that USD prices are for reference). Not treated as a confirmed disagreement; the WBD $17/mo figure is kept."
317
+ },
318
+ {
319
+ "name": "Yola",
320
+ "slug": "yola",
321
+ "startingPriceUsdMo": 9.95,
322
+ "billingNote": "Bronze plan is $9.95/mo when billed annually ($119.40/year), or $14.95/mo month-to-month. A free plan is available.",
323
+ "freePlan": true,
324
+ "officialPricingUrl": "https://www.yola.com/pricing",
325
+ "reviewUrl": "https://websitebuilders.directory/tools/yola",
326
+ "lastVerified": "2026-12-02",
327
+ "source": "official",
328
+ "wbdListedPrice": "$11.95/mo",
329
+ "note": "WBD listing showed $11.95/mo. Official Bronze annual price is $9.95/mo. Official price used."
330
+ },
331
+ {
332
+ "name": "Zoho Sites",
333
+ "slug": "zoho",
334
+ "startingPriceUsdMo": 1.0,
335
+ "billingNote": "Lite plan is $1/mo when billed annually, or $2/mo month-to-month. Paid plans have a 15-day trial (not a free plan).",
336
+ "freePlan": false,
337
+ "officialPricingUrl": "https://www.zoho.com/sites/pricing.html",
338
+ "reviewUrl": "https://websitebuilders.directory/tools/zoho",
339
+ "lastVerified": "2026-12-02",
340
+ "source": "official",
341
+ "wbdListedPrice": "$8/mo",
342
+ "note": "WBD listing showed $8/mo, which matches official Basic on annual billing. Official lowest paid plan is Lite at $1/mo billed annually. Official Lite price used."
343
+ }
344
+ ]
345
+ }
package/index.cjs ADDED
@@ -0,0 +1,36 @@
1
+ /**
2
+ * CommonJS entry for website-builder-pricing.
3
+ */
4
+ const { readFileSync } = require("node:fs");
5
+ const { join } = require("node:path");
6
+
7
+ const data = JSON.parse(
8
+ readFileSync(join(__dirname, "data", "builders.json"), "utf8")
9
+ );
10
+
11
+ const builders = data.builders;
12
+
13
+ function getBuilder(slug) {
14
+ if (slug == null || slug === "") return undefined;
15
+ const needle = String(slug).toLowerCase();
16
+ return builders.find((b) => b.slug.toLowerCase() === needle);
17
+ }
18
+
19
+ function cheapest() {
20
+ return builders
21
+ .filter((b) => b.startingPriceUsdMo != null && Number.isFinite(b.startingPriceUsdMo))
22
+ .slice()
23
+ .sort((a, b) => {
24
+ const cmp = a.startingPriceUsdMo - b.startingPriceUsdMo;
25
+ if (cmp !== 0) return cmp;
26
+ return a.name.localeCompare(b.name);
27
+ });
28
+ }
29
+
30
+ module.exports = {
31
+ data,
32
+ builders,
33
+ getBuilder,
34
+ cheapest,
35
+ };
36
+ module.exports.default = builders;
package/index.js ADDED
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Website builder pricing dataset and helpers.
3
+ * Data: ./data/builders.json
4
+ */
5
+ import { readFileSync } from "node:fs";
6
+ import { dirname, join } from "node:path";
7
+ import { fileURLToPath } from "node:url";
8
+
9
+ const __dirname = dirname(fileURLToPath(import.meta.url));
10
+ const data = JSON.parse(
11
+ readFileSync(join(__dirname, "data", "builders.json"), "utf8")
12
+ );
13
+
14
+ const builders = data.builders;
15
+
16
+ function getBuilder(slug) {
17
+ if (slug == null || slug === "") return undefined;
18
+ const needle = String(slug).toLowerCase();
19
+ return builders.find((b) => b.slug.toLowerCase() === needle);
20
+ }
21
+
22
+ /**
23
+ * Builders with a known starting price, cheapest first.
24
+ * Entries with a null / missing price are omitted.
25
+ */
26
+ function cheapest() {
27
+ return builders
28
+ .filter((b) => b.startingPriceUsdMo != null && Number.isFinite(b.startingPriceUsdMo))
29
+ .slice()
30
+ .sort((a, b) => {
31
+ const cmp = a.startingPriceUsdMo - b.startingPriceUsdMo;
32
+ if (cmp !== 0) return cmp;
33
+ return a.name.localeCompare(b.name);
34
+ });
35
+ }
36
+
37
+ export { data, builders, getBuilder, cheapest };
38
+ export default builders;
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "website-builder-pricing",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "A small open dataset and embeddable widget of website builder starting prices, sourced from Website Builders Directory and official vendor pricing pages.",
5
+ "keywords": [
6
+ "website-builder",
7
+ "pricing",
8
+ "wix",
9
+ "squarespace",
10
+ "webflow",
11
+ "directory",
12
+ "widget",
13
+ "jsdelivr"
14
+ ],
15
+ "homepage": "https://websitebuilders.directory",
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "git+https://github.com/grokbotahsan/website-builder-pricing.git"
19
+ },
20
+ "bugs": {
21
+ "url": "https://github.com/grokbotahsan/website-builder-pricing/issues"
22
+ },
23
+ "license": "MIT",
24
+ "author": "Ahsan Sajjad",
25
+ "type": "module",
26
+ "main": "./index.cjs",
27
+ "module": "./index.js",
28
+ "exports": {
29
+ ".": {
30
+ "import": "./index.js",
31
+ "require": "./index.cjs"
32
+ },
33
+ "./widget.js": "./widget.js",
34
+ "./data/builders.json": "./data/builders.json"
35
+ },
36
+ "files": [
37
+ "data/builders.json",
38
+ "index.js",
39
+ "index.cjs",
40
+ "widget.js",
41
+ "LICENSE",
42
+ "README.md"
43
+ ],
44
+ "scripts": {
45
+ "test": "node test/test.cjs && node test/test.mjs"
46
+ },
47
+ "engines": {
48
+ "node": ">=18"
49
+ },
50
+ "devDependencies": {
51
+ "jsdom": "^25.0.1"
52
+ }
53
+ }
package/widget.js ADDED
@@ -0,0 +1,169 @@
1
+ /* website-builder-pricing widget
2
+ * Renders a small comparison table into any <div data-wbd-pricing>.
3
+ * Usage (jsDelivr):
4
+ * <script src="https://cdn.jsdelivr.net/npm/website-builder-pricing/widget.js"></script>
5
+ * <div data-wbd-pricing></div>
6
+ */
7
+ (function (root) {
8
+ "use strict";
9
+
10
+ var DATA = {"generatedAt":"2026-12-02","currency":"USD","sourceCredit":"Starting prices were taken from Website Builders Directory listings (WordPress REST at https://api.websitebuilders.directory) and checked against each vendor's official pricing page on 2026-12-02. When the official page clearly disagreed, the official price was used and the WBD figure was recorded. Prices were never invented; if an official amount could not be confirmed, the field is null.","builders":[{"name":"10Web","slug":"10web","startingPriceUsdMo":10.0,"billingNote":"AI Starter is $10/mo billed annually at $120. A $0/mo Free plan is also available.","freePlan":true,"officialPricingUrl":"https://10web.io/pricing/","reviewUrl":"https://websitebuilders.directory/tools/10web","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$10/mo","note":"Matches the WBD listing of $10/mo."},{"name":"Beaver Builder","slug":"beaver-builder","startingPriceUsdMo":7.42,"billingNote":"Starter plan is $89/year for 1 site (about $7.42/mo). 30-day refund, not a free plan.","freePlan":false,"officialPricingUrl":"https://www.wpbeaverbuilder.com/pricing/","reviewUrl":"https://websitebuilders.directory/tools/beaver-builder","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$89/yr","note":"Matches the WBD listing of $89/yr."},{"name":"Bricks Builder","slug":"bricks-builder","startingPriceUsdMo":6.58,"billingNote":"Starter plan is USD 79/year for 1 website (about $6.58/mo). Business is $149/year; Agency $249/year; Ultimate is $599 lifetime.","freePlan":false,"officialPricingUrl":"https://bricksbuilder.io/pricing/","reviewUrl":"https://websitebuilders.directory/tools/bricks-builder","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$79/yr","note":"Matches the WBD listing of $79/yr."},{"name":"Brizy","slug":"brizy","startingPriceUsdMo":19.0,"billingNote":"Brizy Cloud Personal is $19/mo, or $190/year. Agency is $69/mo. A holiday promo was also shown and is not used here.","freePlan":false,"officialPricingUrl":"https://www.brizy.io/pricing","reviewUrl":"https://websitebuilders.directory/tools/brizy","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$19/mo","note":"Matches the WBD listing of $19/mo (regular Personal monthly price, not the holiday promo)."},{"name":"Bubble","slug":"bubble","startingPriceUsdMo":29.0,"billingNote":"WBD lists $29/mo. Official pricing page title confirms you can start free, but plan amounts were JavaScript-rendered and could not be read in this check.","freePlan":true,"officialPricingUrl":"https://bubble.io/pricing","reviewUrl":"https://websitebuilders.directory/tools/bubble","lastVerified":"2026-12-02","source":"wbd","wbdListedPrice":"$29/mo","note":"Paid price taken from the WBD listing. Official page was JS-rendered, so the $29/mo figure was not independently confirmed. Free plan inferred from the official page title ('Start Free, Scale as You Grow')."},{"name":"Canva","slug":"canva-website-builder","startingPriceUsdMo":null,"billingNote":"Official page lists Free, Pro, Business, and Enterprise plans. The current USD starting price could not be confirmed from the JavaScript-rendered official pricing page.","freePlan":true,"officialPricingUrl":"https://www.canva.com/pricing/","reviewUrl":"https://websitebuilders.directory/tools/canva-website-builder","lastVerified":"2026-12-02","source":"wbd","wbdListedPrice":"$6.50/mo","note":"WBD listing showed $6.50/mo, which looked unusually low for current Canva Pro. Official pricing page is JS-rendered and the USD amount could not be confirmed, so startingPriceUsdMo is omitted."},{"name":"Carrd","slug":"carrd","startingPriceUsdMo":1.58,"billingNote":"Pro starts at $19/year (about $1.58/mo). A free plan is available; Pro has a 7-day trial.","freePlan":true,"officialPricingUrl":"https://carrd.co/","reviewUrl":"https://websitebuilders.directory/tools/carrd","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$19/yr","note":"Matches the WBD listing of $19/yr."},{"name":"Divi","slug":"divi","startingPriceUsdMo":7.42,"billingNote":"WBD lists $89/year (about $7.42/mo). Official page on this date was a Cyber Monday 2026 sale and did not clearly show a regular $89/year price.","freePlan":false,"officialPricingUrl":"https://www.elegantthemes.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/divi","lastVerified":"2026-12-02","source":"wbd","wbdListedPrice":"$89/yr","note":"Price taken from the WBD listing. The official Elegant Themes page was a sale landing page; a regular yearly price could not be independently confirmed, so the WBD figure is kept with this caveat."},{"name":"Duda","slug":"duda-builder","startingPriceUsdMo":19.0,"billingNote":"Basic is $19/mo billed annually, or $25/mo billed monthly. 14-day trial; no free plan. Team is $29/mo annual; Agency $52/mo annual.","freePlan":false,"officialPricingUrl":"https://www.duda.co/pricing","reviewUrl":"https://websitebuilders.directory/tools/duda-builder","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$25/mo","note":"WBD listing showed $25/mo (the Basic month-to-month rate). Official lowest paid price is $19/mo billed annually. Official annual price used."},{"name":"Durable","slug":"durable","startingPriceUsdMo":22.0,"billingNote":"Launch is $22/mo on yearly billing, or $25/mo month-to-month. A Free plan at $0 is available (Durable subdomain). Grow is $41/mo yearly or $49/mo monthly.","freePlan":true,"officialPricingUrl":"https://durable.co/pricing","reviewUrl":"https://websitebuilders.directory/tools/durable","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$15/mo","note":"WBD listing showed $15/mo. Official lowest paid plan is Launch at $22/mo billed yearly. Official price used."},{"name":"Elementor","slug":"elementor-website-builder","startingPriceUsdMo":5.0,"billingNote":"Official plans start from $60/year ($5.00/mo). A free Elementor plugin is also available on WordPress.org.","freePlan":true,"officialPricingUrl":"https://elementor.com/pricing/","reviewUrl":"https://websitebuilders.directory/tools/elementor-website-builder","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$4.92/mo","note":"WBD listing showed $4.92/mo (consistent with a former $59/year plan). Official page meta describes plans starting from $60/year. Official $60/year used."},{"name":"Framer","slug":"framer","startingPriceUsdMo":10.0,"billingNote":"Basic is $10/mo on yearly billing. A Free plan at $0 is available. Pro is $30/mo.","freePlan":true,"officialPricingUrl":"https://www.framer.com/pricing/","reviewUrl":"https://websitebuilders.directory/tools/framer","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$5/mo","note":"WBD listing showed $5/mo. Official Basic plan is $10/mo on yearly billing. Official price used."},{"name":"GoDaddy Website Builder","slug":"godaddy","startingPriceUsdMo":9.99,"billingNote":"WBD lists $9.99/mo. Official pricing could not be independently verified in this check (the GoDaddy site returned HTTP 403).","freePlan":null,"officialPricingUrl":"https://www.godaddy.com/websites/website-builder","reviewUrl":"https://websitebuilders.directory/tools/godaddy","lastVerified":"2026-12-02","source":"wbd","wbdListedPrice":"$9.99/mo","note":"Price taken from the WBD listing only. Official page was not readable (HTTP 403), so free-plan status is unknown."},{"name":"Google Sites","slug":"google-sites","startingPriceUsdMo":0,"billingNote":"Free with a Google account. No paid Sites-only plan; Google Workspace is sold separately.","freePlan":true,"officialPricingUrl":"https://workspace.google.com/products/sites/","reviewUrl":"https://websitebuilders.directory/tools/google-sites","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"Free","note":null},{"name":"Hostinger Website Builder","slug":"hostinger-website-builder","startingPriceUsdMo":1.99,"billingNote":"Introductory Premium price is $1.99/mo when billed for 48 months ($95.52 today). Renews at $10.99/mo. Higher plans also have intro rates.","freePlan":false,"officialPricingUrl":"https://www.hostinger.com/website-builder","reviewUrl":"https://websitebuilders.directory/tools/hostinger-website-builder","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$2.49/mo","note":"WBD listing showed $2.49/mo (a previous promo). Official page currently advertises $1.99/mo intro for 48 months, renewing at $10.99/mo. Official intro price used, with renewal in the billing note."},{"name":"Jimdo","slug":"jimdo","startingPriceUsdMo":12.0,"billingNote":"Start is US$12/mo when billed every 12 months (US$144/year). A Free plan at US$0/mo is available. Grow is US$20/mo annual; Unlimited is US$50/mo annual.","freePlan":true,"officialPricingUrl":"https://www.jimdo.com/pricing/","reviewUrl":"https://websitebuilders.directory/tools/jimdo","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$11/mo","note":"WBD listing showed $11/mo. Official Start plan is US$12/mo billed annually. Official price used."},{"name":"Odoo","slug":"odoo","startingPriceUsdMo":0,"billingNote":"One App Free plan is $0 for one app and unlimited users. Paid Standard starts at US$8.95 per user per month on the official pricing page.","freePlan":true,"officialPricingUrl":"https://www.odoo.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/odoo","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"Free","note":null},{"name":"Squarespace","slug":"squarespace","startingPriceUsdMo":12.0,"billingNote":"Basic is $12/mo billed annually, or $19/mo month-to-month. 14-day trial; no free plan. Core is $17/mo annual or $27/mo monthly; Advanced is $25/mo annual or $36/mo monthly.","freePlan":false,"officialPricingUrl":"https://www.squarespace.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/squarespace","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$25/mo","note":"WBD listing showed $25/mo (the Advanced annual rate, or an older starting price). Official lowest paid plan is Basic at $12/mo billed annually. Official Basic price used."},{"name":"Strikingly","slug":"strikingly-ai","startingPriceUsdMo":8.0,"billingNote":"Limited plan is $8/mo USD billed yearly. Pro is $16/mo billed yearly; VIP is $49/mo billed yearly. A free plan is available.","freePlan":true,"officialPricingUrl":"https://www.strikingly.com/s/pricing","reviewUrl":"https://websitebuilders.directory/tools/strikingly-ai","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$12/mo","note":"WBD listing showed $12/mo. Official lowest paid plan is Limited at $8/mo billed yearly. Official Limited price used."},{"name":"Tilda","slug":"tilda","startingPriceUsdMo":10.0,"billingNote":"Personal is $10/month with annual payment, or $15/month month-to-month. A Free plan for 1 website is available. Business is $20/month annual or $25/month.","freePlan":true,"officialPricingUrl":"https://tilda.cc/pricing/","reviewUrl":"https://websitebuilders.directory/tools/tilda","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$15/mo","note":"WBD listing showed $15/mo (the month-to-month Personal rate). Official lowest paid price is $10/mo with annual payment. Official annual price used."},{"name":"Webflow","slug":"webflow","startingPriceUsdMo":15.0,"billingNote":"Site plan Basic is $15/mo billed yearly (for sites that don't need a CMS). A free Starter workspace is available.","freePlan":true,"officialPricingUrl":"https://webflow.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/webflow","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$18/mo","note":"WBD listing showed $18/mo. Official lowest paid site plan is Basic at $15/mo billed yearly. Official price used."},{"name":"Webnode","slug":"webnode","startingPriceUsdMo":4.5,"billingNote":"Limited plan is $4.50/mo on annual billing (regular listed price $6.50/mo). Month-to-month Limited is not offered.","freePlan":false,"officialPricingUrl":"https://www.webnode.com/pricing-w2/?currency=USD","reviewUrl":"https://websitebuilders.directory/tools/webnode","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$4.50/mo","note":"Matches the WBD listing of $4.50/mo (current advertised annual Limited price)."},{"name":"Weebly","slug":"weebly","startingPriceUsdMo":13.0,"billingNote":"Personal is $13/mo billed annually, or $16 month-to-month. A Free plan is available.","freePlan":true,"officialPricingUrl":"https://www.weebly.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/weebly","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$13/mo","note":"Matches the WBD listing of $13/mo (Personal billed annually)."},{"name":"Wix","slug":"wix-builder-website","startingPriceUsdMo":17.0,"billingNote":"WBD lists Light at $17/mo. A Free plan is available on the official plans page. Official prices vary by location and may include tax.","freePlan":true,"officialPricingUrl":"https://www.wix.com/plans","reviewUrl":"https://websitebuilders.directory/tools/wix-builder-website","lastVerified":"2026-12-02","source":"wbd","wbdListedPrice":"$17/mo","note":"Official plans page confirmed a Free plan and Light as the lowest paid plan, but this check was geo-priced (Light shown at $17.77/mo including GST, with a note that USD prices are for reference). Not treated as a confirmed disagreement; the WBD $17/mo figure is kept."},{"name":"Yola","slug":"yola","startingPriceUsdMo":9.95,"billingNote":"Bronze plan is $9.95/mo when billed annually ($119.40/year), or $14.95/mo month-to-month. A free plan is available.","freePlan":true,"officialPricingUrl":"https://www.yola.com/pricing","reviewUrl":"https://websitebuilders.directory/tools/yola","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$11.95/mo","note":"WBD listing showed $11.95/mo. Official Bronze annual price is $9.95/mo. Official price used."},{"name":"Zoho Sites","slug":"zoho","startingPriceUsdMo":1.0,"billingNote":"Lite plan is $1/mo when billed annually, or $2/mo month-to-month. Paid plans have a 15-day trial (not a free plan).","freePlan":false,"officialPricingUrl":"https://www.zoho.com/sites/pricing.html","reviewUrl":"https://websitebuilders.directory/tools/zoho","lastVerified":"2026-12-02","source":"official","wbdListedPrice":"$8/mo","note":"WBD listing showed $8/mo, which matches official Basic on annual billing. Official lowest paid plan is Lite at $1/mo billed annually. Official Lite price used."}]};
11
+
12
+ function formatPrice(amount) {
13
+ if (amount == null || !isFinite(Number(amount))) {
14
+ return "Price data unavailable";
15
+ }
16
+ var n = Number(amount);
17
+ if (n === 0) return "Free";
18
+ var rounded = Math.round(n * 100) / 100;
19
+ var text = rounded % 1 === 0 ? String(rounded) : rounded.toFixed(2);
20
+ return "$" + text + "/mo";
21
+ }
22
+
23
+ function formatFree(value) {
24
+ if (value === true) return "Yes";
25
+ if (value === false) return "No";
26
+ return "—";
27
+ }
28
+
29
+ function escapeHtml(str) {
30
+ return String(str)
31
+ .replace(/&/g, "&amp;")
32
+ .replace(/</g, "&lt;")
33
+ .replace(/>/g, "&gt;")
34
+ .replace(/"/g, "&quot;");
35
+ }
36
+
37
+ function cssText() {
38
+ return [
39
+ ".wbd-pricing{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.45;color:#1a1a1a;max-width:720px;margin:0 auto;}",
40
+ ".wbd-pricing *{box-sizing:border-box;}",
41
+ ".wbd-pricing table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;}",
42
+ ".wbd-pricing th,.wbd-pricing td{padding:8px 10px;text-align:left;border-bottom:1px solid #eef0f3;vertical-align:top;}",
43
+ ".wbd-pricing thead th{background:#f6f7f9;font-weight:600;font-size:12px;letter-spacing:.02em;text-transform:uppercase;color:#4b5563;}",
44
+ ".wbd-pricing tbody tr:last-child td{border-bottom:0;}",
45
+ ".wbd-pricing tbody tr:hover{background:#fafbfc;}",
46
+ ".wbd-pricing .wbd-name{font-weight:600;}",
47
+ ".wbd-pricing .wbd-name a{color:#111;text-decoration:none;}",
48
+ ".wbd-pricing .wbd-name a:hover{text-decoration:underline;}",
49
+ ".wbd-pricing .wbd-price{white-space:nowrap;font-variant-numeric:tabular-nums;}",
50
+ ".wbd-pricing .wbd-price.is-missing{color:#6b7280;font-style:italic;white-space:normal;}",
51
+ ".wbd-pricing .wbd-note{display:block;color:#6b7280;font-weight:400;font-size:12px;margin-top:2px;}",
52
+ ".wbd-pricing .wbd-credit{margin:10px 0 0;font-size:12px;color:#6b7280;}",
53
+ ".wbd-pricing .wbd-credit a{color:#2563eb;text-decoration:none;}",
54
+ ".wbd-pricing .wbd-credit a:hover{text-decoration:underline;}"
55
+ ].join("");
56
+ }
57
+
58
+ function ensureStyles() {
59
+ if (typeof document === "undefined") return;
60
+ if (document.getElementById("wbd-pricing-styles")) return;
61
+ var style = document.createElement("style");
62
+ style.id = "wbd-pricing-styles";
63
+ style.textContent = cssText();
64
+ document.head.appendChild(style);
65
+ }
66
+
67
+ function sortedBuilders() {
68
+ var list = (DATA.builders || []).slice();
69
+ list.sort(function (a, b) {
70
+ var ap = a.startingPriceUsdMo;
71
+ var bp = b.startingPriceUsdMo;
72
+ var aMissing = ap == null || !isFinite(Number(ap));
73
+ var bMissing = bp == null || !isFinite(Number(bp));
74
+ if (aMissing && bMissing) return a.name.localeCompare(b.name);
75
+ if (aMissing) return 1;
76
+ if (bMissing) return -1;
77
+ if (ap !== bp) return ap - bp;
78
+ return a.name.localeCompare(b.name);
79
+ });
80
+ return list;
81
+ }
82
+
83
+ function renderInto(el, options) {
84
+ if (!el) return;
85
+ options = options || {};
86
+ ensureStyles();
87
+ var limit = options.limit;
88
+ if (limit == null && el.getAttribute) {
89
+ var raw = el.getAttribute("data-wbd-limit");
90
+ if (raw) limit = parseInt(raw, 10);
91
+ }
92
+ var builders = sortedBuilders();
93
+ if (limit && isFinite(limit) && limit > 0) {
94
+ builders = builders.slice(0, limit);
95
+ }
96
+
97
+ var rows = builders
98
+ .map(function (b) {
99
+ var missing = b.startingPriceUsdMo == null || !isFinite(Number(b.startingPriceUsdMo));
100
+ var priceClass = "wbd-price" + (missing ? " is-missing" : "");
101
+ var review = escapeHtml(b.reviewUrl || "https://websitebuilders.directory");
102
+ var official = b.officialPricingUrl
103
+ ? ' <a href="' +
104
+ escapeHtml(b.officialPricingUrl) +
105
+ '" rel="noopener noreferrer" target="_blank">Official pricing</a>'
106
+ : "";
107
+ var note = b.billingNote
108
+ ? '<span class="wbd-note">' + escapeHtml(b.billingNote) + official + "</span>"
109
+ : official
110
+ ? '<span class="wbd-note">' + official + "</span>"
111
+ : "";
112
+ return (
113
+ "<tr>" +
114
+ '<td class="wbd-name"><a href="' +
115
+ review +
116
+ '" rel="noopener noreferrer" target="_blank">' +
117
+ escapeHtml(b.name) +
118
+ "</a></td>" +
119
+ '<td class="' +
120
+ priceClass +
121
+ '">' +
122
+ escapeHtml(formatPrice(b.startingPriceUsdMo)) +
123
+ note +
124
+ "</td>" +
125
+ "<td>" +
126
+ escapeHtml(formatFree(b.freePlan)) +
127
+ "</td>" +
128
+ "</tr>"
129
+ );
130
+ })
131
+ .join("");
132
+
133
+ el.className = (el.className ? el.className + " " : "") + "wbd-pricing-host";
134
+ el.innerHTML =
135
+ '<div class="wbd-pricing">' +
136
+ "<table>" +
137
+ "<thead><tr><th>Builder</th><th>From (USD/mo)</th><th>Free plan</th></tr></thead>" +
138
+ "<tbody>" +
139
+ rows +
140
+ "</tbody>" +
141
+ "</table>" +
142
+ '<p class="wbd-credit">Pricing data by <a href="https://websitebuilders.directory" rel="noopener noreferrer" target="_blank">Website Builders Directory</a>.</p>' +
143
+ "</div>";
144
+ }
145
+
146
+ function renderAll() {
147
+ if (typeof document === "undefined") return;
148
+ var nodes = document.querySelectorAll("[data-wbd-pricing]");
149
+ for (var i = 0; i < nodes.length; i++) renderInto(nodes[i]);
150
+ }
151
+
152
+ var api = {
153
+ data: DATA,
154
+ builders: DATA.builders,
155
+ render: renderInto,
156
+ renderAll: renderAll,
157
+ formatPrice: formatPrice,
158
+ };
159
+
160
+ root.WBDPricing = api;
161
+
162
+ if (typeof document !== "undefined") {
163
+ if (document.readyState === "loading") {
164
+ document.addEventListener("DOMContentLoaded", renderAll);
165
+ } else {
166
+ renderAll();
167
+ }
168
+ }
169
+ })(typeof window !== "undefined" ? window : typeof globalThis !== "undefined" ? globalThis : this);