Skip to content

[feat] experimental-network-imports #50124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks done
loynoir opened this issue Aug 1, 2022 · 3 comments
Closed
5 tasks done

[feat] experimental-network-imports #50124

loynoir opened this issue Aug 1, 2022 · 3 comments
Labels
Duplicate An existing issue was already created

Comments

@loynoir
Copy link

loynoir commented Aug 1, 2022

Suggestion

Suprisingly, found nobody feature request on network-imports, which

  • has been deno builtin
  • and part of nodejs experimental for a while.
$ node --help
  --experimental-network-imports
                              experimental https: support for the ES
                              Module loader
import { expect } from 'https://cdn.skypack.dev/chai'
// Cannot find module 'https://cdn.skypack.dev/chai' or its corresponding type declarations.

🔍 Search Terms

network-imports .d.ts

✅ Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be implemented without emitting different JS based on the types of the expressions
  • This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
  • This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

📃 Motivating Example

💻 Use Cases

@loynoir
Copy link
Author

loynoir commented Aug 1, 2022

related #46936

@MartinJohns
Copy link
Contributor

MartinJohns commented Aug 1, 2022

Duplicate of #48678. Used search terms: import http in:title

@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Aug 3, 2022
@typescript-bot
Copy link
Collaborator

This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

4 participants