Replies: 4 comments
-
Hi, This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Beta Was this translation helpful? Give feedback.
-
Initial set of APIs added in this RFC: https://github.com/winglang/wing/pull/2837/files |
Beta Was this translation helpful? Give feedback.
-
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Beta Was this translation helpful? Give feedback.
-
Chatted with @Chriscbr and we decided to convert this issue into a discussion, since it is not really actionable |
Beta Was this translation helpful? Give feedback.
-
What are the APIs in Wing's standard library?
It's possible to access most Node APIs and third-party library functions through extern functions. But there should also be a selection of APIs that come pre-included with Wing.
Today, we already have several built-in modules like
http
,math
, andutil
. What set of principles should we use for deciding which APIs to include vs exclude? Offering APIs in Wing has the upside of providing a better experience for first time users (since they don't need to write JavaScript or install third party libraries), but it also increases our API surface area that needs to be maintained.Common standard library features in other programming languages for inspiration:
Beta Was this translation helpful? Give feedback.
All reactions